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.001002/0.001002, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001188/0.001188, allocations: 143.1 kB / 24.97 MB, free: 8.77 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 1.064/1.064, allocations: 173.3 MB / 201.5 MB, free: 9.348 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 1.994e-06/1.994e-06, allocations: 0 / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.948e-05, allocations: 2.312 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.008737/0.008767, allocations: 8.78 MB / 276.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.01408, allocations: 2.773 MB / 279.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007526/0.01483, allocations: 59.62 kB / 279.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.01589, allocations: 0.586 MB / 280.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.01721, allocations: 0.7683 MB / 281.1 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.01765, allocations: 339.4 kB / 281.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.01925, allocations: 2.306 MB / 283.7 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000931/0.02018, allocations: 0.9852 MB / 284.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.02144, allocations: 1.532 MB / 286.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.02259, allocations: 1.196 MB / 287.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.02284, allocations: 272 kB / 287.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.02324, allocations: 363.7 kB / 288 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000497/0.02374, allocations: 0.8102 MB / 288.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006466/0.02439, allocations: 0.8342 MB / 289.7 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1239/0.1483, allocations: 1.943 MB / 291.6 MB, free: 20.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1483, allocations: 0 / 291.6 MB, free: 20.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1483, allocations: 1.375 kB / 291.6 MB, free: 20.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.1484, allocations: 0.5 kB / 291.6 MB, free: 20.41 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.005116/0.1536, allocations: 2.613 MB / 294.2 MB, free: 19.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1536, allocations: 11.16 kB / 294.2 MB, free: 19.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009192/0.1545, allocations: 411.5 kB / 294.6 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.1565, allocations: 1.203 MB / 295.8 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.1566, allocations: 138 kB / 296 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.1568, allocations: 182.7 kB / 296.2 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/0.1597, allocations: 1.491 MB / 297.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.712e-05/0.1598, allocations: 7.734 kB / 297.7 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.1599, allocations: 79.55 kB / 297.7 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.1601, allocations: 90.53 kB / 297.8 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.162, allocations: 0.6733 MB / 298.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008183/0.1702, allocations: 5.883 MB / 304.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.1712, allocations: 0.5464 MB / 304.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007938/0.1719, allocations: 468.4 kB / 305.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.1721, allocations: 48.78 kB / 305.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1721, allocations: 52.53 kB / 305.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.166e-06/0.1721, allocations: 0 / 305.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.006427/0.1786, allocations: 3.133 MB / 308.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.1786, allocations: 64.94 kB / 308.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.1797, allocations: 0.9867 MB / 309.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.1798, allocations: 45.67 kB / 309.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.1802, allocations: 0.9634 MB / 310.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.1804, allocations: 383.6 kB / 311 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.1807, allocations: 226.4 kB / 311.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.1808, allocations: 0.5316 MB / 311.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.1812, allocations: 198 kB / 312 MB, free: 12.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.1817, allocations: 0.6248 MB / 312.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.1827, allocations: 0.9329 MB / 313.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.1827, allocations: 10.12 kB / 313.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00198/0.1847, allocations: 1.204 MB / 314.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1847, allocations: 10.97 kB / 314.8 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.1848, allocations: 8 kB / 314.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007263/0.1855, allocations: 272.9 kB / 315.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000713/0.1862, allocations: 270.5 kB / 315.3 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.1896, allocations: 6.559 MB / 321.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/0.1904, allocations: 79.88 kB / 322 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/0.1905, allocations: 48 kB / 322 MB, free: 2.426 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.0005487/0.191, allocations: 240.9 kB / 322.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.1913, allocations: 163.2 kB / 322.4 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.193, allocations: 1.037 MB / 323.4 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.193, allocations: 8 kB / 323.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.193, allocations: 8 kB / 323.4 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.193, allocations: 3.984 kB / 323.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/0.1981, allocations: 2.764 MB / 326.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.1981, allocations: 4 kB / 326.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.1987, allocations: 175 kB / 326.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009802/0.1997, allocations: 343.4 kB / 326.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.1998, allocations: 31.55 kB / 326.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005585/0.2054, allocations: 8.377 MB / 335.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.2054, allocations: 9.906 kB / 335.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/0.2085, allocations: 1.546 MB / 336.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005721/0.2091, allocations: 243 kB / 336.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.2092, allocations: 31.98 kB / 337 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.2098, allocations: 63.94 kB / 337 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.21, allocations: 99.58 kB / 337.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.2101, allocations: 34.06 kB / 337.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008277/0.2109, allocations: 0.5907 MB / 337.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2109, allocations: 0 / 337.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00144/0.2123, allocations: 407.9 kB / 338.1 MB, free: 1.703 MB / 282.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%), (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.0003489/0.2127, allocations: 195.4 kB / 338.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.2148, allocations: 1.424 MB / 339.8 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.2148, allocations: 4 kB / 339.8 MB, free: 68 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.2163, allocations: 1.257 MB / 341 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.2177, allocations: 327.1 kB / 341.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.2228, allocations: 3.354 MB / 344.7 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.2232, allocations: 495.5 kB / 345.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005744/0.2238, allocations: 234.6 kB / 345.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.2239, allocations: 88.48 kB / 345.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of SimCode: time 2.464e-06/0.2239, allocations: 6.297 kB / 345.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Templates: time 0.02364/0.2476, allocations: 21.18 MB / 366.7 MB, free: 5.348 MB / 314.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.5065673470962793]