Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 176.4 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 241.4 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007531/0.000753, allocations: 98 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 19.94 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2118, allocations: 50.39 MB / 402.8 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.3299, allocations: 104.7 MB / 0.4955 GB, free: 7.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.3302, allocations: 91.95 kB / 0.4956 GB, free: 7.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2391/0.5693, allocations: 41.44 MB / 0.5361 GB, free: 79.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5693, allocations: 0 / 0.5361 GB, free: 79.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001646/0.5695, allocations: 47.94 kB / 0.5361 GB, free: 79.04 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004527/0.574, allocations: 2.182 MB / 0.5383 GB, free: 76.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.5741, allocations: 8.031 kB / 0.5383 GB, free: 76.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/0.5749, allocations: 274 kB / 0.5385 GB, free: 76.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.5774, allocations: 1.439 MB / 0.5399 GB, free: 75.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.564e-05/0.5775, allocations: 140.2 kB / 0.5401 GB, free: 74.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/0.5779, allocations: 188.3 kB / 0.5403 GB, free: 74.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/0.5814, allocations: 2.421 MB / 0.5426 GB, free: 72.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.541e-05/0.5814, allocations: 4.188 kB / 0.5426 GB, free: 72.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.5816, allocations: 87.91 kB / 0.5427 GB, free: 72.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.5817, allocations: 87.69 kB / 0.5428 GB, free: 72.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.5845, allocations: 1.869 MB / 0.5446 GB, free: 70.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.5953, allocations: 7.852 MB / 0.5523 GB, free: 62.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.5968, allocations: 1.279 MB / 0.5535 GB, free: 60.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.5979, allocations: 0.8308 MB / 0.5543 GB, free: 59.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.5981, allocations: 138 kB / 0.5545 GB, free: 59.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.5982, allocations: 47.56 kB / 0.5545 GB, free: 59.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 3.206e-06/0.5982, allocations: 0 / 0.5545 GB, free: 59.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.009924/0.6081, allocations: 5.6 MB / 0.56 GB, free: 54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.6081, allocations: 64.41 kB / 0.5601 GB, free: 53.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.6098, allocations: 1.267 MB / 0.5613 GB, free: 52.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.563e-05/0.6099, allocations: 45.7 kB / 0.5613 GB, free: 52.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004423/0.6104, allocations: 0.9045 MB / 0.5622 GB, free: 51.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.6106, allocations: 398.2 kB / 0.5626 GB, free: 51.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.6107, allocations: 28 kB / 0.5626 GB, free: 51.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.6108, allocations: 357.9 kB / 0.563 GB, free: 50.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008506/0.6116, allocations: 0.6481 MB / 0.5636 GB, free: 50.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009646/0.6126, allocations: 0.9951 MB / 0.5646 GB, free: 49.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.6145, allocations: 1.742 MB / 0.5663 GB, free: 47.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.6145, allocations: 4 kB / 0.5663 GB, free: 47.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003086/0.6176, allocations: 2.197 MB / 0.5684 GB, free: 45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6177, allocations: 12 kB / 0.5684 GB, free: 44.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.6177, allocations: 8 kB / 0.5684 GB, free: 44.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008076/0.6185, allocations: 410.6 kB / 0.5688 GB, free: 44.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.6196, allocations: 351.5 kB / 0.5692 GB, free: 44.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.6233, allocations: 4.649 MB / 0.5737 GB, free: 39.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.6247, allocations: 79.92 kB / 0.5738 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.6249, allocations: 64.05 kB / 0.5738 GB, free: 39.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001019/0.6259, allocations: 0.6026 MB / 0.5744 GB, free: 38.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.6262, allocations: 154.1 kB / 0.5746 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.629, allocations: 1.925 MB / 0.5765 GB, free: 36.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.629, allocations: 15.94 kB / 0.5765 GB, free: 36.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.629, allocations: 7.984 kB / 0.5765 GB, free: 36.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.629, allocations: 7.984 kB / 0.5765 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005872/0.6349, allocations: 4.069 MB / 0.5805 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.371e-06/0.6349, allocations: 0 / 0.5805 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009031/0.6358, allocations: 223.7 kB / 0.5807 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.6369, allocations: 473.7 kB / 0.5811 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.963e-05/0.6371, allocations: 35.98 kB / 0.5812 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004806/0.6419, allocations: 6.171 MB / 0.5872 GB, free: 24.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6419, allocations: 4 kB / 0.5872 GB, free: 24.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.6461, allocations: 2.844 MB / 0.59 GB, free: 22.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009088/0.647, allocations: 367.1 kB / 0.5903 GB, free: 21.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/0.6474, allocations: 24 kB / 0.5903 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009268/0.6483, allocations: 75.92 kB / 0.5904 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.6485, allocations: 92.94 kB / 0.5905 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.719e-05/0.6486, allocations: 35.98 kB / 0.5905 GB, free: 21.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00123/0.6498, allocations: 0.8643 MB / 0.5914 GB, free: 20.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6498, allocations: 0 / 0.5914 GB, free: 20.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001546/0.6514, allocations: 456 kB / 0.5918 GB, free: 20.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 95 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004678/0.6519, allocations: 309.2 kB / 0.5921 GB, free: 19.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002818/0.6547, allocations: 2.095 MB / 0.5942 GB, free: 17.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6547, allocations: 4.188 kB / 0.5942 GB, free: 17.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.6565, allocations: 1.367 MB / 0.5955 GB, free: 16.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.6588, allocations: 392.7 kB / 0.5959 GB, free: 15.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006202/0.665, allocations: 4.936 MB / 0.6007 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.6664, allocations: 1.646 MB / 0.6023 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001177/0.6676, allocations: 336.9 kB / 0.6026 GB, free: 8.863 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.6679, allocations: 103.4 kB / 0.6027 GB, free: 8.762 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.6679, allocations: 0 / 0.6027 GB, free: 8.762 MB / 378.7 MB Notification: Performance of Templates: time 0.03778/0.7057, allocations: 23.77 MB / 0.6259 GB, free: 1.227 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches