Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 166.3 kB / 25.03 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 250.4 MB, free: 7.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.858e-05, allocations: 2.312 kB / 250.4 MB, free: 7.66 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01402/0.01405, allocations: 9.465 MB / 259.9 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008238/0.02229, allocations: 3.421 MB / 263.3 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.02409, allocations: 51.69 kB / 263.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.02649, allocations: 0.6675 MB / 264 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.02971, allocations: 0.9082 MB / 264.9 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.03099, allocations: 451.1 kB / 265.4 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00443/0.03542, allocations: 2.774 MB / 268.1 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.03717, allocations: 1.037 MB / 269.2 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.04073, allocations: 1.762 MB / 270.9 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.04328, allocations: 1.407 MB / 272.3 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006204/0.0439, allocations: 308 kB / 272.6 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.04525, allocations: 0.5345 MB / 273.2 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.04669, allocations: 1.083 MB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.04843, allocations: 1.009 MB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00604/0.05447, allocations: 4.335 MB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.05448, allocations: 4 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.05448, allocations: 0 / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.039e-05/0.05456, allocations: 0 / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007253/0.06181, allocations: 3.528 MB / 283.1 MB, free: 6.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.06186, allocations: 11.98 kB / 283.1 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.06309, allocations: 0.5067 MB / 283.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/0.06648, allocations: 1.461 MB / 285.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.06663, allocations: 148.4 kB / 285.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003695/0.067, allocations: 212.3 kB / 285.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004895/0.0719, allocations: 2.567 MB / 288 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.099e-05/0.07196, allocations: 3.953 kB / 288 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.07217, allocations: 84 kB / 288.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.07231, allocations: 103.8 kB / 288.2 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003775/0.07609, allocations: 1.713 MB / 289.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.09408, allocations: 9.237 MB / 299.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.09668, allocations: 0.9649 MB / 300.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.09851, allocations: 0.7494 MB / 300.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.09877, allocations: 52.97 kB / 300.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.09882, allocations: 54.38 kB / 301 MB, free: 4.258 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.557e-06/0.09882, allocations: 4 kB / 301 MB, free: 4.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01179/0.1106, allocations: 4.25 MB / 305.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.1107, allocations: 64.72 kB / 305.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.1143, allocations: 2.031 MB / 307.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.1144, allocations: 49.69 kB / 307.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.1157, allocations: 1.309 MB / 308.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005901/0.1163, allocations: 0.5038 MB / 309.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006767/0.117, allocations: 285.2 kB / 309.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00038/0.1174, allocations: 0.5823 MB / 310.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009991/0.1184, allocations: 415.8 kB / 310.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.1198, allocations: 0.7812 MB / 311.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002619/0.1224, allocations: 1.332 MB / 312.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.1224, allocations: 0 / 312.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005054/0.1275, allocations: 1.873 MB / 314.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.1275, allocations: 8.25 kB / 314.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.1275, allocations: 12 kB / 314.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/0.1302, allocations: 0.6187 MB / 315.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.1314, allocations: 267.6 kB / 315.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.1428, allocations: 6.934 MB / 322.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.1441, allocations: 99.91 kB / 322.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.1443, allocations: 47.98 kB / 322.4 MB, free: 14.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001581/0.1459, allocations: 0.5587 MB / 323 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007359/0.1466, allocations: 242.7 kB / 323.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/0.1509, allocations: 1.612 MB / 324.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-05/0.1509, allocations: 19.98 kB / 324.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.1509, allocations: 4 kB / 324.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/0.1509, allocations: 15.97 kB / 324.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009974/0.1609, allocations: 4.026 MB / 328.9 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.1609, allocations: 0 / 328.9 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.162, allocations: 215.9 kB / 329.1 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/0.1641, allocations: 0.4894 MB / 329.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.1643, allocations: 27.98 kB / 329.6 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.1745, allocations: 7.904 MB / 337.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/0.1745, allocations: 7.922 kB / 337.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005626/0.1801, allocations: 2.28 MB / 339.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.1814, allocations: 338.5 kB / 340.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.1817, allocations: 32 kB / 340.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009536/0.1826, allocations: 79.91 kB / 340.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/0.183, allocations: 108.7 kB / 340.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.1831, allocations: 39.98 kB / 340.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002234/0.1853, allocations: 1.219 MB / 341.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1853, allocations: 0 / 341.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002406/0.1877, allocations: 0.5234 MB / 342.2 MB, free: 9.891 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002869/0.1906, allocations: 488.5 kB / 342.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004307/0.1949, allocations: 1.871 MB / 344.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.1949, allocations: 0 / 344.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002676/0.1976, allocations: 1.377 MB / 345.9 MB, free: 6.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.1999, allocations: 413.4 kB / 346.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009034/0.2089, allocations: 4.447 MB / 350.7 MB, free: 1.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1164/0.3253, allocations: 1.283 MB / 352 MB, free: 83.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001485/0.3268, allocations: 300.2 kB / 352.3 MB, free: 83.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.3273, allocations: 126.7 kB / 352.4 MB, free: 83.01 MB / 330.7 MB Notification: Performance of SimCode: time 1.793e-06/0.3273, allocations: 0 / 352.4 MB, free: 83.01 MB / 330.7 MB Notification: Performance of Templates: time 0.04236/0.3696, allocations: 29.61 MB / 382 MB, free: 64.92 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.317997593083419]