Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 96.73 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 203 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002313/0.0002314, allocations: 4.188 kB / 308.4 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08677, allocations: 51.54 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.009888/0.09668, allocations: 9.612 MB / 369.5 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006154/0.1029, allocations: 3.244 MB / 372.8 MB, free: 128 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.1044, allocations: 51.75 kB / 372.8 MB, free: 76 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1678/0.2723, allocations: 0.6005 MB / 373.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.2758, allocations: 0.7625 MB / 374.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2772, allocations: 373.4 kB / 374.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00515/0.2823, allocations: 3.373 MB / 377.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0038/0.2862, allocations: 2.075 MB / 380 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.2887, allocations: 1.025 MB / 381 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.2921, allocations: 1.443 MB / 382.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.2932, allocations: 147.5 kB / 382.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.2951, allocations: 270.1 kB / 382.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001566/0.2966, allocations: 0.7728 MB / 383.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003392/0.3, allocations: 1.364 MB / 385 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00507/0.3051, allocations: 3.758 MB / 388.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3052, allocations: 0 / 388.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3052, allocations: 0.9375 kB / 388.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001825/0.3054, allocations: 0 / 388.8 MB, free: 5.887 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006223/0.3116, allocations: 2.789 MB / 391.6 MB, free: 4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3117, allocations: 10.25 kB / 391.6 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.3132, allocations: 372.8 kB / 391.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.3161, allocations: 1.721 MB / 393.7 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.3163, allocations: 186.2 kB / 393.8 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/0.3166, allocations: 235.8 kB / 394.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005188/0.3218, allocations: 3.153 MB / 397.2 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.535e-05/0.3219, allocations: 12.58 kB / 397.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.3221, allocations: 96.66 kB / 397.3 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.964e-05/0.3222, allocations: 105.6 kB / 397.4 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004575/0.3268, allocations: 2.726 MB / 400.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.3426, allocations: 9.784 MB / 410 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.3453, allocations: 2.193 MB / 412.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.3472, allocations: 1.13 MB / 413.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.3474, allocations: 206.9 kB / 413.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3475, allocations: 47.56 kB / 413.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.246e-06/0.3475, allocations: 0 / 413.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01464/0.3621, allocations: 6.974 MB / 420.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.3622, allocations: 64.72 kB / 420.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/0.3654, allocations: 1.759 MB / 422.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.3656, allocations: 45.7 kB / 422.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008676/0.3665, allocations: 1.161 MB / 423.5 MB, free: 7.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/0.367, allocations: 458 kB / 424 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.3672, allocations: 133.6 kB / 424.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3673, allocations: 309 kB / 424.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.3687, allocations: 0.8003 MB / 425.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.3704, allocations: 1.221 MB / 426.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.3736, allocations: 2.12 MB / 428.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.3736, allocations: 4 kB / 428.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004809/0.3784, allocations: 2.702 MB / 431.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.3785, allocations: 12 kB / 431.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.3785, allocations: 12 kB / 431.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3795, allocations: 411.2 kB / 431.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.3809, allocations: 371.4 kB / 432 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006655/0.3876, allocations: 6.498 MB / 438.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.3893, allocations: 123.8 kB / 438.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.3896, allocations: 60 kB / 438.7 MB, free: 7.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001739/0.3913, allocations: 0.8016 MB / 439.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005228/0.3919, allocations: 197.6 kB / 439.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/0.3962, allocations: 2.395 MB / 442.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3962, allocations: 12 kB / 442.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3962, allocations: 8 kB / 442.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.3963, allocations: 7.984 kB / 442.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009585/0.4059, allocations: 5.159 MB / 447.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.4059, allocations: 12 kB / 447.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.4069, allocations: 239.6 kB / 447.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.4081, allocations: 450.1 kB / 448 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.4082, allocations: 35.98 kB / 448 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007721/0.4159, allocations: 7.938 MB / 456 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.416, allocations: 4 kB / 456 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006035/0.422, allocations: 3.57 MB / 459.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.4232, allocations: 434.7 kB / 459.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005138/0.4237, allocations: 39.98 kB / 460 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.425, allocations: 91.91 kB / 460.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/0.4254, allocations: 120.7 kB / 460.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.817e-05/0.4255, allocations: 39.98 kB / 460.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002387/0.4279, allocations: 1.207 MB / 461.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4279, allocations: 0 / 461.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002236/0.4301, allocations: 0.5078 MB / 461.9 MB, free: 15.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004528/0.4306, allocations: 199.2 kB / 462.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004121/0.4347, allocations: 2.483 MB / 464.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4347, allocations: 0.8125 kB / 464.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002636/0.4374, allocations: 1.613 MB / 466.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/0.4413, allocations: 467.2 kB / 466.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.4517, allocations: 6.242 MB / 472.9 MB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.4538, allocations: 1.965 MB / 474.9 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/0.4545, allocations: 135.4 kB / 475 MB, free: 2.039 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4545, allocations: 0 / 475 MB, free: 2.039 MB / 382.1 MB Notification: Performance of Templates: time 0.2518/0.7064, allocations: 79.2 MB / 0.5412 GB, free: 145.5 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches