Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.0009571/0.0009571, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009151/0.0009151, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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.9458/0.9458, allocations: 173.3 MB / 201.1 MB, free: 9.344 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_Initialize,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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.033e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.00867/0.0087, allocations: 8.896 MB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004738/0.01344, allocations: 2.816 MB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009873/0.01443, allocations: 51.69 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.01603, allocations: 0.5977 MB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.01797, allocations: 0.7955 MB / 281.2 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.01861, allocations: 323.5 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.02104, allocations: 2.446 MB / 283.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.02222, allocations: 0.9968 MB / 284.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.0245, allocations: 1.739 MB / 286.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.02624, allocations: 1.22 MB / 287.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005228/0.02676, allocations: 272 kB / 288.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.02733, allocations: 355.8 kB / 288.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005104/0.02784, allocations: 0.8063 MB / 289.3 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009694/0.02881, allocations: 0.8575 MB / 290.2 MB, free: 156 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1267/0.1556, allocations: 2.001 MB / 292.2 MB, free: 19.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1556, allocations: 3.312 kB / 292.2 MB, free: 19.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1556, allocations: 0 / 292.2 MB, free: 19.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001117/0.1557, allocations: 0 / 292.2 MB, free: 19.38 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005691/0.1614, allocations: 2.667 MB / 294.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.1614, allocations: 10.42 kB / 294.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.1625, allocations: 413 kB / 295.2 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.1646, allocations: 1.269 MB / 296.5 MB, free: 17.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.1647, allocations: 136.4 kB / 296.6 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/0.165, allocations: 185.9 kB / 296.8 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.1676, allocations: 1.484 MB / 298.3 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.968e-05/0.1677, allocations: 6.875 kB / 298.3 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.1678, allocations: 83.89 kB / 298.4 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.1679, allocations: 85.75 kB / 298.5 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.1695, allocations: 0.6527 MB / 299.1 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007414/0.1769, allocations: 6.032 MB / 305.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009938/0.1779, allocations: 0.5726 MB / 305.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.1787, allocations: 0.498 MB / 306.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.1789, allocations: 53.22 kB / 306.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1789, allocations: 47.42 kB / 306.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 3.336e-06/0.1789, allocations: 0 / 306.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.00447/0.1834, allocations: 2.664 MB / 309 MB, free: 12.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.1834, allocations: 65.75 kB / 309.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1845, allocations: 1.087 MB / 310.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.1846, allocations: 45.05 kB / 310.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.185, allocations: 1.004 MB / 311.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.1852, allocations: 374.5 kB / 311.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.1854, allocations: 215.2 kB / 311.8 MB, free: 11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.1855, allocations: 0.536 MB / 312.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.1858, allocations: 193 kB / 312.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.1862, allocations: 0.5993 MB / 313.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.187, allocations: 0.9005 MB / 314 MB, free: 9.285 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.187, allocations: 2.531 kB / 314 MB, free: 9.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001845/0.1889, allocations: 1.268 MB / 315.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.1889, allocations: 8 kB / 315.3 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.1889, allocations: 8 kB / 315.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.1901, allocations: 0.5005 MB / 315.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.1905, allocations: 232.3 kB / 316 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/0.1946, allocations: 5.713 MB / 321.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000783/0.1954, allocations: 72.02 kB / 321.8 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.1955, allocations: 51.98 kB / 321.8 MB, free: 1.965 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007302/0.1962, allocations: 218.9 kB / 322.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.1964, allocations: 175.1 kB / 322.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.1976, allocations: 0.9604 MB / 323.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1976, allocations: 8 kB / 323.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1976, allocations: 4 kB / 323.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1977, allocations: 3.984 kB / 323.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.2012, allocations: 2.585 MB / 325.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2012, allocations: 4.031 kB / 325.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.2017, allocations: 179 kB / 326 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006236/0.2023, allocations: 269.9 kB / 326.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.2024, allocations: 27.98 kB / 326.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003539/0.2059, allocations: 6.176 MB / 332.4 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.2059, allocations: 4.031 kB / 332.4 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.2077, allocations: 1.368 MB / 333.8 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.2081, allocations: 251 kB / 334.1 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.2082, allocations: 20 kB / 334.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.2086, allocations: 59.88 kB / 334.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.2087, allocations: 84.83 kB / 334.2 MB, free: 5.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.2088, allocations: 31.98 kB / 334.2 MB, free: 5.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007041/0.2095, allocations: 0.6458 MB / 334.9 MB, free: 4.492 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2095, allocations: 0 / 334.9 MB, free: 4.492 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001187/0.2107, allocations: 427.9 kB / 335.3 MB, free: 4.074 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * 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,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.0002829/0.2109, allocations: 178.6 kB / 335.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.2128, allocations: 1.257 MB / 336.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.2128, allocations: 0.5625 kB / 336.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008836/0.2136, allocations: 1.009 MB / 337.8 MB, free: 1.586 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009156/0.2146, allocations: 333.4 kB / 338.1 MB, free: 1.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/0.2192, allocations: 3.381 MB / 341.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.2196, allocations: 0.5192 MB / 342 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005403/0.2201, allocations: 243 kB / 342.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.2203, allocations: 88.48 kB / 342.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2203, allocations: 0 / 342.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Templates: time 0.03091/0.2513, allocations: 23.1 MB / 365.4 MB, free: 6.219 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.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.2752862460911274]