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.00086/0.00086, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002031, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.000704/0.000704, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009247/0.001629, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 1.05/1.05, allocations: 173.3 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08889/1.139, allocations: 52.51 MB / 238.3 MB, free: 4.422 MB / 234.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 1.363e-06/1.363e-06, allocations: 0 / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.627e-05, allocations: 2.312 kB / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01457/0.01458, allocations: 8.683 MB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007088/0.02167, allocations: 2.885 MB / 251.1 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004678/0.02214, allocations: 55.62 kB / 251.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.0232, allocations: 0.6171 MB / 251.8 MB, free: 6.867 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004296/0.0275, allocations: 0.7605 MB / 252.6 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.02797, allocations: 335.4 kB / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004749/0.03272, allocations: 2.314 MB / 255.2 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.03391, allocations: 1.016 MB / 256.2 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004809/0.03872, allocations: 1.814 MB / 258 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.03988, allocations: 1.146 MB / 259.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002613/0.04014, allocations: 260 kB / 259.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005097/0.04065, allocations: 351.8 kB / 259.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005234/0.04118, allocations: 0.6312 MB / 260.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003732/0.04491, allocations: 0.6785 MB / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.04653, allocations: 1.791 MB / 262.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.04654, allocations: 0 / 262.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.04654, allocations: 0 / 262.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.04657, allocations: 0 / 262.9 MB, free: 11.68 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.002517/0.04909, allocations: 2.706 MB / 265.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.04912, allocations: 12.03 kB / 265.6 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/0.0496, allocations: 401.8 kB / 266 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.05056, allocations: 0.8988 MB / 266.9 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/0.05063, allocations: 131.9 kB / 267 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.05079, allocations: 184.3 kB / 267.2 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.05209, allocations: 1.395 MB / 268.6 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.05212, allocations: 3.938 kB / 268.6 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.299e-05/0.05221, allocations: 75.98 kB / 268.7 MB, free: 5.742 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/0.05228, allocations: 99.5 kB / 268.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.05299, allocations: 0.5229 MB / 269.3 MB, free: 5.113 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.05755, allocations: 4.613 MB / 273.9 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1043/0.1619, allocations: 0.5354 MB / 274.4 MB, free: 24.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/0.1626, allocations: 398.2 kB / 274.8 MB, free: 24.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.1627, allocations: 41.95 kB / 274.9 MB, free: 24.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1627, allocations: 42.09 kB / 274.9 MB, free: 24.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.515e-06/0.1627, allocations: 0 / 274.9 MB, free: 24.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.004781/0.1675, allocations: 2.524 MB / 277.4 MB, free: 24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.1675, allocations: 63.75 kB / 277.5 MB, free: 23.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.1681, allocations: 0.8073 MB / 278.3 MB, free: 23.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.1682, allocations: 41.7 kB / 278.3 MB, free: 23.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.1685, allocations: 0.7541 MB / 279.1 MB, free: 23.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.1686, allocations: 377.9 kB / 279.5 MB, free: 23.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.1688, allocations: 206.9 kB / 279.7 MB, free: 23.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.577e-05/0.1689, allocations: 361.5 kB / 280 MB, free: 22.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.1691, allocations: 146.8 kB / 280.2 MB, free: 22.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.1694, allocations: 445 kB / 280.6 MB, free: 22.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.17, allocations: 0.7266 MB / 281.3 MB, free: 22.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.17, allocations: 2.844 kB / 281.3 MB, free: 22.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001158/0.1711, allocations: 0.8921 MB / 282.2 MB, free: 21.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1712, allocations: 9.125 kB / 282.2 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1712, allocations: 12.75 kB / 282.2 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/0.1717, allocations: 253.9 kB / 282.5 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.1723, allocations: 273 kB / 282.8 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.1743, allocations: 4.679 MB / 287.4 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.1747, allocations: 50.22 kB / 287.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.1747, allocations: 39.06 kB / 287.5 MB, free: 17.98 MB / 266.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.0002758/0.175, allocations: 180.5 kB / 287.7 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.1752, allocations: 116.9 kB / 287.8 MB, free: 17.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009296/0.1761, allocations: 0.8041 MB / 288.6 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1761, allocations: 10.88 kB / 288.6 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1761, allocations: 3.906 kB / 288.6 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1761, allocations: 5.203 kB / 288.6 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.1785, allocations: 2.221 MB / 290.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1785, allocations: 7.281 kB / 290.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.1789, allocations: 187.4 kB / 291.1 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.1791, allocations: 177.6 kB / 291.2 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005719/0.1797, allocations: 336.6 kB / 291.6 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.1798, allocations: 30.83 kB / 291.6 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.1819, allocations: 5.878 MB / 297.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1819, allocations: 11.48 kB / 297.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.1831, allocations: 1.203 MB / 298.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.1832, allocations: 31.2 kB / 298.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.1834, allocations: 45.98 kB / 298.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.1836, allocations: 89.94 kB / 298.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.1836, allocations: 36.27 kB / 298.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002586/0.1838, allocations: 403.2 kB / 299.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1838, allocations: 0 / 299.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007636/0.1846, allocations: 401 kB / 299.7 MB, free: 11.2 MB / 266.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.0002239/0.1848, allocations: 163.4 kB / 299.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009545/0.1858, allocations: 1.069 MB / 300.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.929e-05/0.1858, allocations: 23.31 kB / 300.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.1864, allocations: 0.9077 MB / 301.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/0.1871, allocations: 426.8 kB / 302.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.1983, allocations: 3.248 MB / 305.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1985, allocations: 447 kB / 305.9 MB, free: 5.414 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.1988, allocations: 158.8 kB / 306.1 MB, free: 5.254 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/0.1993, allocations: 329.1 kB / 306.4 MB, free: 4.934 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1993, allocations: 0 / 306.4 MB, free: 4.934 MB / 266.7 MB Notification: Performance of Templates: time 0.02592/0.2252, allocations: 22.7 MB / 329.1 MB, free: 14.62 MB / 298.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 -ignoreHideResult -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.2282139221206307]