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.00133/0.001329, allocations: 114.7 kB / 17.28 MB, free: 6.219 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.001183/0.001183, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001395/0.001395, allocations: 51.91 kB / 280.2 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.16, allocations: 46.63 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.0175/0.1776, allocations: 11.66 MB / 338.5 MB, free: 9.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1891, allocations: 3.76 MB / 342.2 MB, free: 5.293 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003771/0.1929, allocations: 59.62 kB / 342.3 MB, free: 5.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/0.1968, allocations: 0.7576 MB / 343 MB, free: 4.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007935/0.2048, allocations: 0.9871 MB / 344 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.2076, allocations: 443.6 kB / 344.4 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009058/0.2167, allocations: 4.258 MB / 348.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007987/0.2248, allocations: 3.206 MB / 351.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005744/0.2306, allocations: 1.908 MB / 353.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006278/0.2369, allocations: 2.386 MB / 356.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00308/0.2401, allocations: 0.4961 MB / 356.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/0.244, allocations: 0.5896 MB / 357.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003666/0.2477, allocations: 1.395 MB / 358.7 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00789/0.2557, allocations: 2.209 MB / 360.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.27, allocations: 6.488 MB / 367.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/0.2702, allocations: 0 / 367.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.899e-06/0.2702, allocations: 0 / 367.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004386/0.2706, allocations: 4 kB / 367.4 MB, free: 11.97 MB / 318.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.02002/0.2907, allocations: 4.294 MB / 371.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.657e-05/0.2908, allocations: 12.03 kB / 371.7 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003994/0.2948, allocations: 444 kB / 372.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008323/0.3032, allocations: 2.223 MB / 374.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004628/0.3037, allocations: 242.1 kB / 374.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002204/0.306, allocations: 303.9 kB / 374.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3/0.606, allocations: 4.363 MB / 379.2 MB, free: 50.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002825/0.6063, allocations: 3.438 kB / 379.2 MB, free: 50.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001501/0.6078, allocations: 127.5 kB / 379.4 MB, free: 50.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003095/0.6082, allocations: 131.8 kB / 379.5 MB, free: 50.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.6196, allocations: 3.773 MB / 383.3 MB, free: 49.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03972/0.6594, allocations: 13.55 MB / 396.8 MB, free: 41.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00532/0.6647, allocations: 2.893 MB / 399.7 MB, free: 39.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00311/0.6679, allocations: 1.685 MB / 401.4 MB, free: 38.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/0.6683, allocations: 130.6 kB / 401.5 MB, free: 38.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.973e-05/0.6684, allocations: 51.09 kB / 401.6 MB, free: 38.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 5.47e-06/0.6684, allocations: 0 / 401.6 MB, free: 38.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.02118/0.6896, allocations: 9.21 MB / 410.8 MB, free: 30 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.6897, allocations: 73.41 kB / 410.9 MB, free: 29.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005891/0.6956, allocations: 2.357 MB / 413.2 MB, free: 27.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002321/0.6959, allocations: 57.7 kB / 413.3 MB, free: 27.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.6971, allocations: 1.47 MB / 414.7 MB, free: 25.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/0.6977, allocations: 0.6001 MB / 415.3 MB, free: 25.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007656/0.6984, allocations: 369.8 kB / 415.7 MB, free: 25.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.6985, allocations: 309.1 kB / 416 MB, free: 24.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.7002, allocations: 1.12 MB / 417.1 MB, free: 23.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.7022, allocations: 1.571 MB / 418.7 MB, free: 21.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003853/0.7061, allocations: 2.784 MB / 421.5 MB, free: 18.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/0.7061, allocations: 8 kB / 421.5 MB, free: 18.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006258/0.7124, allocations: 3.589 MB / 425.1 MB, free: 15.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.7125, allocations: 12 kB / 425.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.7125, allocations: 16.03 kB / 425.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/0.7147, allocations: 0.8115 MB / 425.9 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.7164, allocations: 459.3 kB / 426.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.7267, allocations: 11.18 MB / 437.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/0.7301, allocations: 119.8 kB / 437.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005623/0.7307, allocations: 76 kB / 437.7 MB, free: 1.898 MB / 318.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.002905/0.7336, allocations: 1.091 MB / 438.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009893/0.7346, allocations: 241.1 kB / 439.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006833/0.7415, allocations: 3.309 MB / 442.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.7415, allocations: 16 kB / 442.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.776e-05/0.7415, allocations: 8 kB / 442.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.7416, allocations: 7.969 kB / 442.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.7579, allocations: 6.901 MB / 449.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.758, allocations: 0 / 449.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.7594, allocations: 295.5 kB / 449.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/0.7621, allocations: 0.9354 MB / 450.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.7623, allocations: 39.98 kB / 450.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/0.7793, allocations: 14.6 MB / 465.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7793, allocations: 3.938 kB / 465.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.7897, allocations: 4.851 MB / 470 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/0.7923, allocations: 0.5722 MB / 470.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/0.7935, allocations: 39.98 kB / 470.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/0.7957, allocations: 123.8 kB / 470.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006016/0.7963, allocations: 153.8 kB / 470.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/0.7966, allocations: 48 kB / 471 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004255/0.8008, allocations: 1.625 MB / 472.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.8008, allocations: 2.844 kB / 472.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004388/0.8052, allocations: 0.7031 MB / 473.3 MB, free: 13.13 MB / 366.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.0009187/0.8062, allocations: 211 kB / 473.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.009825/0.816, allocations: 4.852 MB / 478.3 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.8161, allocations: 0 / 478.3 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004321/0.8204, allocations: 2.511 MB / 480.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/0.826, allocations: 0.717 MB / 481.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/0.8451, allocations: 8.178 MB / 489.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005114/0.8503, allocations: 2.517 MB / 492.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00376/0.8541, allocations: 0.5905 MB / 492.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.8553, allocations: 159.4 kB / 493 MB, free: 9.137 MB / 382.1 MB Notification: Performance of SimCode: time 2.264e-06/0.8553, allocations: 0 / 493 MB, free: 9.137 MB / 382.1 MB Notification: Performance of Templates: time 0.3223/1.178, allocations: 42.08 MB / 0.5226 GB, free: 132.4 MB / 414.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","../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