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.001457/0.001457, allocations: 184.4 kB / 16.41 MB, free: 5.703 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.88/1.88, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001087/0.001087, allocations: 90.97 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003837, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 47.58 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.4896, allocations: 104 MB / 478.5 MB, free: 8.734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.49, allocations: 87.95 kB / 478.6 MB, free: 8.648 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4423/0.9323, allocations: 41.32 MB / 0.5078 GB, free: 95.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.9324, allocations: 0 / 0.5078 GB, free: 95.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001759/0.9326, allocations: 52.53 kB / 0.5078 GB, free: 95.88 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.007215/0.9398, allocations: 2.204 MB / 0.51 GB, free: 94.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.9399, allocations: 7.719 kB / 0.51 GB, free: 94.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.9413, allocations: 264.4 kB / 0.5102 GB, free: 94.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/0.9455, allocations: 1.38 MB / 0.5116 GB, free: 94.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.9457, allocations: 149.3 kB / 0.5117 GB, free: 94.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004976/0.9462, allocations: 189.6 kB / 0.5119 GB, free: 94.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006047/0.9523, allocations: 2.413 MB / 0.5143 GB, free: 92.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.551e-05/0.9524, allocations: 19.58 kB / 0.5143 GB, free: 92.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.9527, allocations: 82.97 kB / 0.5143 GB, free: 92.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.9528, allocations: 80.38 kB / 0.5144 GB, free: 92.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005492/0.9584, allocations: 1.904 MB / 0.5163 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/0.9755, allocations: 7.831 MB / 0.5239 GB, free: 87.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.9785, allocations: 1.402 MB / 0.5253 GB, free: 87.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/0.9789, allocations: 130.1 kB / 0.5254 GB, free: 87.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.979, allocations: 47.5 kB / 0.5255 GB, free: 87.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 3.907e-06/0.979, allocations: 3.906 kB / 0.5255 GB, free: 87.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.02107/1, allocations: 6.307 MB / 0.5316 GB, free: 82.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/1, allocations: 64.72 kB / 0.5317 GB, free: 82.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/1.002, allocations: 1.103 MB / 0.5328 GB, free: 81.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002595/1.003, allocations: 45.7 kB / 0.5328 GB, free: 81.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/1.003, allocations: 0.8538 MB / 0.5337 GB, free: 80.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/1.004, allocations: 443.4 kB / 0.5341 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/1.004, allocations: 28 kB / 0.5341 GB, free: 79.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/1.004, allocations: 366.7 kB / 0.5345 GB, free: 79.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/1.006, allocations: 0.6754 MB / 0.5351 GB, free: 78.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/1.007, allocations: 0.9922 MB / 0.5361 GB, free: 77.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/1.009, allocations: 0.8301 MB / 0.5369 GB, free: 76.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/1.009, allocations: 0 / 0.5369 GB, free: 76.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005754/1.015, allocations: 2.301 MB / 0.5391 GB, free: 74.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.015, allocations: 12 kB / 0.5391 GB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.015, allocations: 8 kB / 0.5392 GB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/1.017, allocations: 0.5634 MB / 0.5397 GB, free: 73.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/1.019, allocations: 302.1 kB / 0.54 GB, free: 73.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.031, allocations: 8.608 MB / 0.5484 GB, free: 64.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/1.033, allocations: 91.97 kB / 0.5485 GB, free: 64.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/1.033, allocations: 52 kB / 0.5485 GB, free: 64.31 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 (144): * Single equations (assignments): 138 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001443/1.034, allocations: 0.6048 MB / 0.5491 GB, free: 63.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004373/1.035, allocations: 154.1 kB / 0.5493 GB, free: 63.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/1.04, allocations: 2.2 MB / 0.5514 GB, free: 61.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.041, allocations: 12 kB / 0.5514 GB, free: 61.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.041, allocations: 12.28 kB / 0.5514 GB, free: 61.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/1.041, allocations: 11.97 kB / 0.5515 GB, free: 61.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/1.052, allocations: 4.376 MB / 0.5557 GB, free: 56.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.052, allocations: 4 kB / 0.5557 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.053, allocations: 196 kB / 0.5559 GB, free: 56.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002684/1.056, allocations: 0.6254 MB / 0.5565 GB, free: 55.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002182/1.056, allocations: 31.98 kB / 0.5566 GB, free: 55.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/1.069, allocations: 10.16 MB / 0.5665 GB, free: 45.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.069, allocations: 4.219 kB / 0.5665 GB, free: 45.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007448/1.077, allocations: 3.286 MB / 0.5697 GB, free: 41.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.078, allocations: 371.1 kB / 0.5701 GB, free: 41.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/1.078, allocations: 35.98 kB / 0.5701 GB, free: 41.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.08, allocations: 71.92 kB / 0.5702 GB, free: 41.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004062/1.08, allocations: 112.8 kB / 0.5703 GB, free: 41.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.08, allocations: 35.98 kB / 0.5703 GB, free: 41.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001784/1.082, allocations: 0.8482 MB / 0.5711 GB, free: 40.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.082, allocations: 0 / 0.5711 GB, free: 40.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002711/1.085, allocations: 499.9 kB / 0.5716 GB, free: 39.78 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 (91): * Single equations (assignments): 85 * 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: 5 * 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: 5 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(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.0007229/1.086, allocations: 304.8 kB / 0.5719 GB, free: 39.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005425/1.091, allocations: 2.512 MB / 0.5743 GB, free: 36.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.091, allocations: 4 kB / 0.5743 GB, free: 36.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00363/1.095, allocations: 1.755 MB / 0.5761 GB, free: 35.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/1.098, allocations: 384.8 kB / 0.5764 GB, free: 34.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009959/1.108, allocations: 5.076 MB / 0.5814 GB, free: 29.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/1.109, allocations: 1.686 MB / 0.583 GB, free: 27.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000696/1.11, allocations: 107.4 kB / 0.5831 GB, free: 27.72 MB / 378.7 MB Notification: Performance of SimCode: time 9.91e-07/1.11, allocations: 0 / 0.5831 GB, free: 27.72 MB / 378.7 MB Notification: Performance of Templates: time 0.3874/1.497, allocations: 76.51 MB / 0.6579 GB, free: 115 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