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.001455/0.001455, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001607/0.001607, allocations: 145.5 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.9387/0.9387, allocations: 173.4 MB / 201.1 MB, free: 8.984 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 1.523e-06/1.523e-06, allocations: 0 / 268 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.014e-05, allocations: 6.312 kB / 268 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.0103/0.01032, allocations: 8.885 MB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.01508, allocations: 2.812 MB / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006036/0.01569, allocations: 55.69 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.017, allocations: 0.5977 MB / 280.4 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.01852, allocations: 0.8033 MB / 281.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.01904, allocations: 319.5 kB / 281.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.02115, allocations: 2.442 MB / 283.9 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.02256, allocations: 0.9968 MB / 284.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.02427, allocations: 1.594 MB / 286.5 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.02581, allocations: 1.27 MB / 287.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000327/0.02613, allocations: 280 kB / 288.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.02691, allocations: 367.8 kB / 288.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.02759, allocations: 0.8414 MB / 289.3 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008645/0.02845, allocations: 0.8769 MB / 290.1 MB, free: 28 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1296/0.1581, allocations: 2.028 MB / 292.2 MB, free: 19.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.1581, allocations: 0 / 292.2 MB, free: 19.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1581, allocations: 0 / 292.2 MB, free: 19.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001067/0.1582, allocations: 0 / 292.2 MB, free: 19.43 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.004755/0.163, allocations: 2.719 MB / 294.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.163, allocations: 10.86 kB / 294.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007939/0.1638, allocations: 426.4 kB / 295.3 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.1655, allocations: 1.262 MB / 296.6 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.287e-05/0.1656, allocations: 136.5 kB / 296.7 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.1658, allocations: 185 kB / 296.9 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.1681, allocations: 1.485 MB / 298.4 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.1681, allocations: 6.859 kB / 298.4 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.1683, allocations: 77.28 kB / 298.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.134e-05/0.1683, allocations: 90.09 kB / 298.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1698, allocations: 0.6549 MB / 299.2 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006829/0.1766, allocations: 6.122 MB / 305.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000786/0.1774, allocations: 0.5531 MB / 305.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007043/0.1781, allocations: 0.4993 MB / 306.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.1783, allocations: 45.36 kB / 306.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.1784, allocations: 48.34 kB / 306.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 4.138e-06/0.1784, allocations: 0 / 306.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.00424/0.1826, allocations: 2.693 MB / 309.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.1826, allocations: 67 kB / 309.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009459/0.1836, allocations: 1.099 MB / 310.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.1836, allocations: 41.52 kB / 310.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.184, allocations: 1.002 MB / 311.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.1841, allocations: 375.5 kB / 311.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.1843, allocations: 224.4 kB / 311.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.1844, allocations: 0.524 MB / 312.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1847, allocations: 197.4 kB / 312.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.1851, allocations: 0.6045 MB / 313.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.1859, allocations: 0.9014 MB / 314.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1859, allocations: 0 / 314.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001806/0.1877, allocations: 1.304 MB / 315.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1877, allocations: 8 kB / 315.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1878, allocations: 8 kB / 315.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.1889, allocations: 0.5296 MB / 316 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.1894, allocations: 230.8 kB / 316.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.1933, allocations: 5.824 MB / 322.1 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/0.194, allocations: 79.86 kB / 322.1 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.1941, allocations: 44 kB / 322.2 MB, free: 1.645 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%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005409/0.1946, allocations: 227.7 kB / 322.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.1948, allocations: 175.1 kB / 322.6 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.196, allocations: 0.9647 MB / 323.5 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.196, allocations: 12 kB / 323.6 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.196, allocations: 4 kB / 323.6 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.196, allocations: 3.984 kB / 323.6 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.1999, allocations: 2.615 MB / 326.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1999, allocations: 4.766 kB / 326.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.2004, allocations: 183.1 kB / 326.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006982/0.2011, allocations: 293.4 kB / 326.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.2011, allocations: 35.97 kB / 326.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/0.2047, allocations: 6.242 MB / 332.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2047, allocations: 0 / 332.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.2068, allocations: 1.392 MB / 334.3 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006126/0.2074, allocations: 251 kB / 334.6 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.2076, allocations: 20 kB / 334.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.208, allocations: 67.92 kB / 334.6 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.2082, allocations: 87.83 kB / 334.7 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.2082, allocations: 31.98 kB / 334.8 MB, free: 4.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009171/0.2091, allocations: 0.6501 MB / 335.4 MB, free: 3.992 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2091, allocations: 0 / 335.4 MB, free: 3.992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001421/0.2106, allocations: 439.9 kB / 335.8 MB, free: 3.562 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%), (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.0003728/0.2109, allocations: 173.2 kB / 336 MB, free: 3.395 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.2129, allocations: 1.313 MB / 337.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2129, allocations: 0 / 337.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.2139, allocations: 1.047 MB / 338.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.2151, allocations: 339.9 kB / 338.7 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/0.2209, allocations: 3.39 MB / 342.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.2215, allocations: 0.5192 MB / 342.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007284/0.2222, allocations: 239 kB / 342.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.2224, allocations: 88.48 kB / 342.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of SimCode: time 3.286e-06/0.2224, allocations: 4 kB / 342.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of Templates: time 0.02944/0.2519, allocations: 23.13 MB / 366.1 MB, free: 5.562 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.5826176307164133]