Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 105.2 kB / 17.73 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001663, allocations: 187.1 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 47.94 kB / 328.5 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1294, allocations: 46.61 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.3014/0.4309, allocations: 11.75 MB / 386.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.4422, allocations: 3.807 MB / 390.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004338/0.4466, allocations: 62.09 kB / 390.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004062/0.4507, allocations: 0.8676 MB / 391.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005883/0.4567, allocations: 1.08 MB / 392.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.4592, allocations: 497.3 kB / 393.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.4694, allocations: 4.269 MB / 397.5 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008444/0.4779, allocations: 3.204 MB / 400.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008279/0.4862, allocations: 1.909 MB / 402.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008305/0.4946, allocations: 2.337 MB / 404.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003988/0.4987, allocations: 0.4961 MB / 405.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.5041, allocations: 0.5812 MB / 406 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004782/0.509, allocations: 1.398 MB / 407.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009009/0.518, allocations: 2.21 MB / 409.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.5323, allocations: 6.549 MB / 416.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.5324, allocations: 4 kB / 416.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5324, allocations: 0 / 416.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003367/0.5327, allocations: 1.438 kB / 416.2 MB, free: 6.145 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01797/0.5507, allocations: 4.292 MB / 420.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/0.5508, allocations: 8.031 kB / 420.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/0.5538, allocations: 436 kB / 420.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006904/0.5607, allocations: 2.254 MB / 423.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.5611, allocations: 242.1 kB / 423.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/0.5629, allocations: 300 kB / 423.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.5752, allocations: 4.369 MB / 428.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.882e-05/0.5754, allocations: 11.84 kB / 428.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004088/0.5758, allocations: 128 kB / 428.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/0.5759, allocations: 130 kB / 428.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009114/0.585, allocations: 3.771 MB / 432.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02881/0.6139, allocations: 13.39 MB / 445.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003966/0.6179, allocations: 2.895 MB / 448.4 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003109/0.6211, allocations: 1.684 MB / 450.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/0.6214, allocations: 126.4 kB / 450.2 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.35e-05/0.6214, allocations: 51.88 kB / 450.2 MB, free: 3.734 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 4.719e-06/0.6215, allocations: 0 / 450.2 MB, free: 3.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.02141/0.6429, allocations: 9.221 MB / 459.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.643, allocations: 73.41 kB / 459.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004091/0.6471, allocations: 2.35 MB / 461.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003954/0.6475, allocations: 57.7 kB / 461.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.6488, allocations: 1.474 MB / 463.4 MB, free: 6.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008516/0.6496, allocations: 0.6045 MB / 464 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006792/0.6503, allocations: 367.3 kB / 464.4 MB, free: 5.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.6504, allocations: 305.1 kB / 464.7 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.6523, allocations: 1.12 MB / 465.8 MB, free: 3.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.6544, allocations: 1.574 MB / 467.4 MB, free: 2.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/0.6587, allocations: 2.784 MB / 470.1 MB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.6587, allocations: 7.938 kB / 470.2 MB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006867/0.6656, allocations: 3.584 MB / 473.7 MB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.6657, allocations: 12.5 kB / 473.7 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.6657, allocations: 19.94 kB / 473.8 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.6678, allocations: 0.7987 MB / 474.6 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.67, allocations: 467.2 kB / 475 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.6825, allocations: 11.18 MB / 486.2 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/0.6857, allocations: 119.9 kB / 486.3 MB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005605/0.6863, allocations: 79.98 kB / 486.4 MB, free: 14.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002975/0.6893, allocations: 1.083 MB / 487.5 MB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008383/0.6902, allocations: 248.9 kB / 487.7 MB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/0.6968, allocations: 3.301 MB / 491 MB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.6969, allocations: 16 kB / 491 MB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.6969, allocations: 11.98 kB / 491 MB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.6969, allocations: 7.969 kB / 491.1 MB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.7111, allocations: 6.844 MB / 497.9 MB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.7111, allocations: 4 kB / 497.9 MB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.7125, allocations: 295.8 kB / 498.2 MB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/0.715, allocations: 0.9207 MB / 499.1 MB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/0.7152, allocations: 43.98 kB / 499.2 MB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.7314, allocations: 14.6 MB / 0.5017 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.7314, allocations: 0 / 0.5017 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/0.7424, allocations: 4.865 MB / 0.5065 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002058/0.7445, allocations: 0.5759 MB / 0.507 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006846/0.7452, allocations: 39.94 kB / 0.5071 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.7467, allocations: 119.9 kB / 0.5072 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004886/0.7472, allocations: 149.8 kB / 0.5073 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.7474, allocations: 55.98 kB / 0.5074 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002961/0.7503, allocations: 1.625 MB / 0.509 GB, free: 10.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7504, allocations: 0 / 0.509 GB, free: 10.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003905/0.7543, allocations: 0.7109 MB / 0.5097 GB, free: 9.363 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0006658/0.755, allocations: 211.5 kB / 0.5099 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006135/0.7611, allocations: 3.593 MB / 0.5134 GB, free: 5.457 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.7611, allocations: 4 kB / 0.5134 GB, free: 5.453 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003916/0.7651, allocations: 2.509 MB / 0.5158 GB, free: 2.832 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/0.7694, allocations: 0.7117 MB / 0.5165 GB, free: 2.117 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.7829, allocations: 6.744 MB / 0.5231 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003034/0.786, allocations: 2.521 MB / 0.5256 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002166/0.7882, allocations: 0.5866 MB / 0.5261 GB, free: 8.172 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/0.7887, allocations: 159.4 kB / 0.5263 GB, free: 8.016 MB / 462.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7888, allocations: 0 / 0.5263 GB, free: 8.016 MB / 462.1 MB Notification: Performance of Templates: time 0.3057/1.095, allocations: 40.56 MB / 0.5659 GB, free: 149 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches