Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00077/0.0007701, allocations: 86.69 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.089e-05, allocations: 0 / 322.5 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07579/0.07582, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3059/0.3818, allocations: 107.2 MB / 477.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.3821, allocations: 90.7 kB / 477.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1295/0.5115, allocations: 50.18 MB / 0.5151 GB, free: 1.012 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5116, allocations: 7.938 kB / 0.5151 GB, free: 1.004 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001604/0.5117, allocations: 67.92 kB / 0.5152 GB, free: 0.9375 MB / 394.7 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.00475/0.5165, allocations: 2.487 MB / 0.5176 GB, free: 14.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.5165, allocations: 12.03 kB / 0.5176 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008255/0.5174, allocations: 332.3 kB / 0.518 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/0.5206, allocations: 1.776 MB / 0.5197 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.5208, allocations: 180.6 kB / 0.5199 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.5211, allocations: 231.9 kB / 0.5201 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004835/0.526, allocations: 3.033 MB / 0.523 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/0.5261, allocations: 11.91 kB / 0.5231 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.5263, allocations: 100 kB / 0.5231 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.725e-05/0.5264, allocations: 100.6 kB / 0.5232 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0039/0.5303, allocations: 2.462 MB / 0.5256 GB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1952/0.7255, allocations: 9.756 MB / 0.5352 GB, free: 95.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.7282, allocations: 2.162 MB / 0.5373 GB, free: 94.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.7297, allocations: 0.927 MB / 0.5382 GB, free: 94.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.73, allocations: 222.2 kB / 0.5384 GB, free: 94.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.73, allocations: 44.81 kB / 0.5384 GB, free: 94.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 3.287e-06/0.73, allocations: 3.188 kB / 0.5385 GB, free: 94.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=141): time 0.0233/0.7534, allocations: 6.521 MB / 0.5448 GB, free: 93.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.7534, allocations: 65.84 kB / 0.5449 GB, free: 93.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003814/0.7573, allocations: 1.503 MB / 0.5463 GB, free: 93.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002337/0.7575, allocations: 48.7 kB / 0.5464 GB, free: 93.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.7587, allocations: 1.143 MB / 0.5475 GB, free: 92.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005665/0.7593, allocations: 484.9 kB / 0.548 GB, free: 92.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.7594, allocations: 32.09 kB / 0.548 GB, free: 92.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7596, allocations: 368 kB / 0.5484 GB, free: 92.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.7616, allocations: 0.8005 MB / 0.5491 GB, free: 92.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.7639, allocations: 1.178 MB / 0.5503 GB, free: 91.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.7663, allocations: 0.9762 MB / 0.5512 GB, free: 91.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/0.7663, allocations: 3.906 kB / 0.5512 GB, free: 91.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.00708/0.7734, allocations: 2.73 MB / 0.5539 GB, free: 91.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.7735, allocations: 11.69 kB / 0.5539 GB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.7735, allocations: 13.56 kB / 0.5539 GB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/0.7758, allocations: 0.5843 MB / 0.5545 GB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.7782, allocations: 372.4 kB / 0.5549 GB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.7887, allocations: 6.318 MB / 0.561 GB, free: 88.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/0.7913, allocations: 122.5 kB / 0.5611 GB, free: 88.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/0.7917, allocations: 68.44 kB / 0.5612 GB, free: 88.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005231/0.7922, allocations: 192.2 kB / 0.5614 GB, free: 88.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006917/0.793, allocations: 193.4 kB / 0.5616 GB, free: 88.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006694/0.7997, allocations: 2.52 MB / 0.564 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.7997, allocations: 14.28 kB / 0.5641 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.7997, allocations: 7.375 kB / 0.5641 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.7998, allocations: 7.594 kB / 0.5641 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/0.8136, allocations: 5.262 MB / 0.5692 GB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.8137, allocations: 2.75 kB / 0.5692 GB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.8153, allocations: 241.1 kB / 0.5694 GB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/0.818, allocations: 0.6407 MB / 0.5701 GB, free: 85.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.8182, allocations: 44.94 kB / 0.5701 GB, free: 85.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.8304, allocations: 8.043 MB / 0.578 GB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.8304, allocations: 3.906 kB / 0.578 GB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00848/0.8389, allocations: 3.836 MB / 0.5817 GB, free: 78.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/0.8407, allocations: 454.2 kB / 0.5821 GB, free: 77.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007315/0.8414, allocations: 31.31 kB / 0.5822 GB, free: 77.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/0.8434, allocations: 96.27 kB / 0.5823 GB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005039/0.844, allocations: 130.9 kB / 0.5824 GB, free: 77.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/0.8442, allocations: 42.08 kB / 0.5824 GB, free: 77.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003079/0.8473, allocations: 1.153 MB / 0.5836 GB, free: 77.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.8473, allocations: 0 / 0.5836 GB, free: 77.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002505/0.8498, allocations: 0.5782 MB / 0.5841 GB, free: 77.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005444/0.8504, allocations: 318 kB / 0.5844 GB, free: 77.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00345/0.8538, allocations: 2.486 MB / 0.5869 GB, free: 76.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8538, allocations: 0 / 0.5869 GB, free: 76.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00217/0.856, allocations: 1.636 MB / 0.5885 GB, free: 75.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.858, allocations: 436.1 kB / 0.5889 GB, free: 75.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006255/0.8643, allocations: 4.145 MB / 0.5929 GB, free: 73.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.8658, allocations: 2.071 MB / 0.5949 GB, free: 72.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001253/0.8671, allocations: 428.4 kB / 0.5953 GB, free: 72.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.8675, allocations: 129 kB / 0.5955 GB, free: 72.42 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.8675, allocations: 4 kB / 0.5955 GB, free: 72.41 MB / 410.7 MB Notification: Performance of Templates: time 0.04324/0.9107, allocations: 30.55 MB / 0.6253 GB, free: 51.77 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches