Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.AsynchronousInductionMachines.AIMC_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002262/0.002263, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.087/3.087, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.001414/0.001414, allocations: 101 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008535/0.000854, allocations: 16 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5975/0.5984, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.8319, allocations: 104.2 MB / 479.9 MB, free: 8.387 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005073/0.8325, allocations: 91.95 kB / 480 MB, free: 8.297 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5434/1.376, allocations: 41.29 MB / 0.5091 GB, free: 95.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.49e-06/1.376, allocations: 4 kB / 0.5091 GB, free: 95.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002971/1.376, allocations: 61.72 kB / 0.5092 GB, free: 95.93 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.00933/1.386, allocations: 2.177 MB / 0.5113 GB, free: 94.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.546e-05/1.386, allocations: 8.781 kB / 0.5113 GB, free: 94.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/1.388, allocations: 269.7 kB / 0.5115 GB, free: 94.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/1.394, allocations: 1.426 MB / 0.5129 GB, free: 94.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/1.394, allocations: 144.8 kB / 0.5131 GB, free: 94.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009815/1.395, allocations: 188.5 kB / 0.5133 GB, free: 94.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00809/1.403, allocations: 2.433 MB / 0.5156 GB, free: 92.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/1.404, allocations: 11.88 kB / 0.5156 GB, free: 92.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/1.404, allocations: 86.3 kB / 0.5157 GB, free: 92.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/1.404, allocations: 82.38 kB / 0.5158 GB, free: 92.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006602/1.411, allocations: 1.899 MB / 0.5177 GB, free: 92.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02627/1.437, allocations: 7.833 MB / 0.5253 GB, free: 87.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/1.441, allocations: 1.407 MB / 0.5267 GB, free: 87.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002373/1.443, allocations: 0.9139 MB / 0.5276 GB, free: 86.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005461/1.444, allocations: 132 kB / 0.5277 GB, free: 86.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/1.444, allocations: 49.09 kB / 0.5277 GB, free: 86.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 8.596e-06/1.444, allocations: 0 / 0.5277 GB, free: 86.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.01996/1.464, allocations: 6.082 MB / 0.5337 GB, free: 81.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/1.464, allocations: 68.72 kB / 0.5337 GB, free: 81.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003019/1.467, allocations: 1.246 MB / 0.535 GB, free: 79.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003788/1.467, allocations: 45.7 kB / 0.535 GB, free: 79.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008266/1.468, allocations: 0.8775 MB / 0.5359 GB, free: 78.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006589/1.469, allocations: 441.4 kB / 0.5363 GB, free: 78.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/1.469, allocations: 28 kB / 0.5363 GB, free: 78.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/1.469, allocations: 365.9 kB / 0.5367 GB, free: 78.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/1.471, allocations: 0.6715 MB / 0.5373 GB, free: 77.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/1.473, allocations: 0.9883 MB / 0.5383 GB, free: 76.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/1.476, allocations: 1.778 MB / 0.54 GB, free: 74.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/1.476, allocations: 4 kB / 0.54 GB, free: 74.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006184/1.482, allocations: 2.323 MB / 0.5423 GB, free: 72.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/1.482, allocations: 11.94 kB / 0.5423 GB, free: 72.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.031e-05/1.482, allocations: 12 kB / 0.5423 GB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/1.484, allocations: 0.4916 MB / 0.5428 GB, free: 71.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/1.486, allocations: 331.5 kB / 0.5431 GB, free: 71.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008823/1.495, allocations: 6.662 MB / 0.5496 GB, free: 64.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/1.498, allocations: 87.83 kB / 0.5497 GB, free: 64.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004721/1.498, allocations: 63.91 kB / 0.5498 GB, free: 63.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (153): * Single equations (assignments): 148 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002488/1.501, allocations: 0.5989 MB / 0.5503 GB, free: 63.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007076/1.501, allocations: 150.2 kB / 0.5505 GB, free: 63.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005424/1.507, allocations: 2.141 MB / 0.5526 GB, free: 61.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/1.507, allocations: 12 kB / 0.5526 GB, free: 61.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/1.507, allocations: 4 kB / 0.5526 GB, free: 61.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/1.507, allocations: 3.984 kB / 0.5526 GB, free: 61.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/1.519, allocations: 4.35 MB / 0.5568 GB, free: 56.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/1.519, allocations: 4 kB / 0.5569 GB, free: 56.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.52, allocations: 219.7 kB / 0.5571 GB, free: 56.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/1.522, allocations: 0.5607 MB / 0.5576 GB, free: 55.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/1.523, allocations: 31.98 kB / 0.5576 GB, free: 55.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/1.533, allocations: 8.198 MB / 0.5656 GB, free: 47.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.533, allocations: 7.938 kB / 0.5657 GB, free: 47.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/1.54, allocations: 3.093 MB / 0.5687 GB, free: 43.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/1.542, allocations: 371.3 kB / 0.569 GB, free: 43.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005567/1.543, allocations: 31.97 kB / 0.5691 GB, free: 43.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.544, allocations: 80.02 kB / 0.5691 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005155/1.545, allocations: 108.7 kB / 0.5692 GB, free: 43.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.545, allocations: 36 kB / 0.5693 GB, free: 43.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002314/1.547, allocations: 0.8443 MB / 0.5701 GB, free: 42.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.547, allocations: 0 / 0.5701 GB, free: 42.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004326/1.552, allocations: 484 kB / 0.5706 GB, free: 41.95 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 (100): * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/1.553, allocations: 311 kB / 0.5709 GB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005644/1.559, allocations: 2.352 MB / 0.5732 GB, free: 39.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/1.559, allocations: 0 / 0.5732 GB, free: 39.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003571/1.562, allocations: 1.597 MB / 0.5747 GB, free: 37.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004869/1.567, allocations: 395.9 kB / 0.5751 GB, free: 37.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.579, allocations: 5.072 MB / 0.58 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/1.581, allocations: 1.647 MB / 0.5816 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/1.582, allocations: 111.4 kB / 0.5818 GB, free: 30.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/1.582, allocations: 0 / 0.5818 GB, free: 30.26 MB / 378.7 MB Notification: Performance of Templates: time 0.5051/2.087, allocations: 71.74 MB / 0.6518 GB, free: 117.2 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches