Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.000926, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 144.2 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8575/0.8575, allocations: 173.4 MB / 201.5 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 4 kB / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.592e-05, allocations: 5.406 kB / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.006754/0.00677, allocations: 8.586 MB / 277.1 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.01133, allocations: 2.87 MB / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008156/0.01214, allocations: 55.62 kB / 280 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.01332, allocations: 0.6015 MB / 280.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.01481, allocations: 0.7722 MB / 281.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.01535, allocations: 335.4 kB / 281.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.01721, allocations: 2.306 MB / 284 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.01848, allocations: 1.02 MB / 285 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.02047, allocations: 1.661 MB / 286.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.02189, allocations: 1.15 MB / 287.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004241/0.02231, allocations: 260 kB / 288.1 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.02281, allocations: 335.9 kB / 288.4 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004694/0.02328, allocations: 0.7712 MB / 289.2 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006132/0.02389, allocations: 0.8224 MB / 290 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.02569, allocations: 1.912 MB / 291.9 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.02569, allocations: 0 / 291.9 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.0257, allocations: 3.984 kB / 291.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.02571, allocations: 0 / 291.9 MB, free: 2.215 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.00222/0.02794, allocations: 2.273 MB / 294.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.02797, allocations: 8.031 kB / 294.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/0.02844, allocations: 328.7 kB / 294.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/0.02944, allocations: 0.895 MB / 295.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.02951, allocations: 135.9 kB / 295.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.02968, allocations: 184.3 kB / 295.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.03103, allocations: 1.387 MB / 297.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.03107, allocations: 7.922 kB / 297.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.03117, allocations: 72 kB / 297.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.021e-05/0.03124, allocations: 95.44 kB / 297.3 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007289/0.03197, allocations: 0.5346 MB / 297.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/0.03669, allocations: 4.581 MB / 302.4 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.03729, allocations: 0.5369 MB / 303 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.03779, allocations: 399.1 kB / 303.3 MB, free: 6.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.0379, allocations: 40.98 kB / 303.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.03793, allocations: 43.56 kB / 303.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 2.625e-06/0.03793, allocations: 4 kB / 303.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.004161/0.04209, allocations: 2.53 MB / 306 MB, free: 3.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.04212, allocations: 60.41 kB / 306 MB, free: 3.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/0.04291, allocations: 0.7992 MB / 306.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.04296, allocations: 41.7 kB / 306.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.04325, allocations: 0.7591 MB / 307.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.04342, allocations: 380.7 kB / 308 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.04363, allocations: 206.8 kB / 308.2 MB, free: 1.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.04372, allocations: 365.8 kB / 308.5 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.04392, allocations: 141.4 kB / 308.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.04423, allocations: 445.1 kB / 309.1 MB, free: 460 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.04481, allocations: 0.7187 MB / 309.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.04481, allocations: 0 / 309.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001057/0.04587, allocations: 0.8922 MB / 310.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.04589, allocations: 8 kB / 310.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.0459, allocations: 8 kB / 310.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005007/0.0464, allocations: 259.6 kB / 311 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.04686, allocations: 235.6 kB / 311.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.04966, allocations: 4.672 MB / 315.9 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.05001, allocations: 43.94 kB / 315.9 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.05006, allocations: 36 kB / 316 MB, free: 9.141 MB / 298.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.0003113/0.05037, allocations: 196.2 kB / 316.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.05052, allocations: 115.9 kB / 316.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009662/0.05148, allocations: 0.789 MB / 317.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.05149, allocations: 12 kB / 317.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.0515, allocations: 4 kB / 317.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.0515, allocations: 11.97 kB / 317.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.05395, allocations: 2.226 MB / 319.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.05395, allocations: 4 kB / 319.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.05429, allocations: 151.8 kB / 319.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006132/0.05491, allocations: 352.6 kB / 319.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.05495, allocations: 27.98 kB / 319.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/0.05804, allocations: 5.858 MB / 325.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.05804, allocations: 7.938 kB / 325.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.05929, allocations: 1.209 MB / 326.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.05954, allocations: 183.1 kB / 327.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/0.05963, allocations: 31.98 kB / 327.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.05992, allocations: 43.98 kB / 327.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003577/0.06028, allocations: 92.7 kB / 327.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.06032, allocations: 31.98 kB / 327.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003057/0.06063, allocations: 393.1 kB / 327.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06063, allocations: 0 / 327.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008476/0.06148, allocations: 396 kB / 328.1 MB, free: 12.41 MB / 314.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.0002407/0.06172, allocations: 182.7 kB / 328.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.06276, allocations: 1.069 MB / 329.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/0.06278, allocations: 16.5 kB / 329.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.06349, allocations: 0.8953 MB / 330.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009817/0.06447, allocations: 326.7 kB / 330.5 MB, free: 9.816 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.06787, allocations: 3.124 MB / 333.7 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.0682, allocations: 443.5 kB / 334.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003328/0.06853, allocations: 162.7 kB / 334.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.06907, allocations: 333.1 kB / 334.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.06907, allocations: 0 / 334.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of Templates: time 0.02603/0.0951, allocations: 21.83 MB / 356.4 MB, free: 188 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2545808223076165]