Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9846/0.9846, allocations: 177 MB / 204.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.705e-05, allocations: 9.125 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.007337/0.007364, allocations: 8.859 MB / 281.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004332/0.0117, allocations: 2.847 MB / 284.6 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000989/0.01269, allocations: 55.62 kB / 284.7 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.01394, allocations: 0.5976 MB / 285.3 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.01565, allocations: 0.7878 MB / 286.1 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.01622, allocations: 323.5 kB / 286.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.0183, allocations: 2.322 MB / 288.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.01936, allocations: 0.9891 MB / 289.7 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1156/0.1349, allocations: 1.684 MB / 291.4 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.1369, allocations: 1.152 MB / 292.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000803/0.1377, allocations: 261.8 kB / 292.8 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008801/0.1386, allocations: 350.7 kB / 293.1 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006402/0.1392, allocations: 0.7658 MB / 293.9 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.1407, allocations: 0.8271 MB / 294.7 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.1435, allocations: 1.929 MB / 296.7 MB, free: 16.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1435, allocations: 0 / 296.7 MB, free: 16.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1435, allocations: 1.188 kB / 296.7 MB, free: 16.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.914e-05/0.1435, allocations: 0.5625 kB / 296.7 MB, free: 16.09 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004219/0.1478, allocations: 2.577 MB / 299.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1478, allocations: 12.77 kB / 299.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007761/0.1486, allocations: 413.8 kB / 299.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.1504, allocations: 1.224 MB / 300.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.745e-05/0.1505, allocations: 135.4 kB / 301 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.1507, allocations: 182.6 kB / 301.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.153, allocations: 1.482 MB / 302.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/0.1531, allocations: 8.141 kB / 302.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.1532, allocations: 75.53 kB / 302.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.284e-05/0.1533, allocations: 94.94 kB / 302.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.1547, allocations: 0.666 MB / 303.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006065/0.1608, allocations: 5.806 MB / 309.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.1615, allocations: 0.5774 MB / 309.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005971/0.1621, allocations: 463.9 kB / 310.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.1623, allocations: 46.88 kB / 310.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1623, allocations: 48.02 kB / 310.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 4.569e-06/0.1623, allocations: 0 / 310.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.004877/0.1672, allocations: 3.1 MB / 313.5 MB, free: 7.621 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.1672, allocations: 64.41 kB / 313.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/0.168, allocations: 0.985 MB / 314.6 MB, free: 6.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.1681, allocations: 41.7 kB / 314.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.1684, allocations: 0.9701 MB / 315.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.1686, allocations: 385.3 kB / 316 MB, free: 5.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.1688, allocations: 228.5 kB / 316.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.1689, allocations: 0.5316 MB / 316.7 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.1692, allocations: 198.3 kB / 316.9 MB, free: 4.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.1695, allocations: 0.6257 MB / 317.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000759/0.1703, allocations: 0.9278 MB / 318.5 MB, free: 2.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.1703, allocations: 0 / 318.5 MB, free: 2.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001573/0.1719, allocations: 1.216 MB / 319.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.1719, allocations: 8 kB / 319.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.1719, allocations: 11.98 kB / 319.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/0.1725, allocations: 273 kB / 320 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/0.1731, allocations: 258.2 kB / 320.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00415/0.1772, allocations: 6.551 MB / 326.8 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008633/0.1781, allocations: 71.89 kB / 326.9 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.1781, allocations: 44 kB / 326.9 MB, free: 9.625 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006435/0.1788, allocations: 242 kB / 327.1 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.179, allocations: 167.2 kB / 327.3 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.1804, allocations: 1.03 MB / 328.3 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1804, allocations: 11.98 kB / 328.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1804, allocations: 8 kB / 328.3 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.1804, allocations: 3.984 kB / 328.4 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.184, allocations: 2.746 MB / 331.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.184, allocations: 0 / 331.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.1844, allocations: 165.8 kB / 331.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006797/0.185, allocations: 323.7 kB / 331.6 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/0.1851, allocations: 35.92 kB / 331.6 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00422/0.1893, allocations: 8.288 MB / 339.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1893, allocations: 7.281 kB / 339.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.1913, allocations: 1.543 MB / 341.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.1917, allocations: 235 kB / 341.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.1918, allocations: 31.98 kB / 341.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.1922, allocations: 59.95 kB / 341.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.1923, allocations: 95.95 kB / 341.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.1924, allocations: 35.98 kB / 341.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000617/0.193, allocations: 0.5851 MB / 342.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.193, allocations: 0 / 342.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001258/0.1943, allocations: 400 kB / 342.9 MB, free: 9.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * 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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003409/0.1946, allocations: 182.4 kB / 343.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.1963, allocations: 1.428 MB / 344.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.1963, allocations: 4 kB / 344.5 MB, free: 7.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.1973, allocations: 1.229 MB / 345.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009711/0.1983, allocations: 336.2 kB / 346 MB, free: 5.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.2029, allocations: 3.342 MB / 349.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.2033, allocations: 499.5 kB / 349.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005325/0.2038, allocations: 234.7 kB / 350.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.204, allocations: 92.48 kB / 350.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of SimCode: time 1.603e-06/0.204, allocations: 4 kB / 350.2 MB, free: 1.562 MB / 298.7 MB Notification: Performance of Templates: time 0.02896/0.2329, allocations: 21.62 MB / 371.8 MB, free: 12.33 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2798824249766767]