Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.000935/0.000935, allocations: 83.91 kB / 21.18 MB, free: 3.379 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.0009402/0.0009402, allocations: 141.1 kB / 24.54 MB, free: 24 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 1.064/1.064, allocations: 173.3 MB / 201.1 MB, free: 9.316 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.154e-05, allocations: 2.312 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.008761/0.008792, allocations: 9.364 MB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005191/0.01398, allocations: 2.925 MB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.01533, allocations: 59.62 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.01674, allocations: 0.6325 MB / 281 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.01863, allocations: 0.8461 MB / 281.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007097/0.01934, allocations: 359.3 kB / 282.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.02209, allocations: 2.749 MB / 284.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.02336, allocations: 1.124 MB / 286.1 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/0.02589, allocations: 1.937 MB / 288 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.0273, allocations: 1.368 MB / 289.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003583/0.02766, allocations: 304 kB / 289.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.0282, allocations: 383.8 kB / 290 MB, free: 232 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1153/0.1435, allocations: 0.8983 MB / 290.9 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002118/0.1457, allocations: 0.959 MB / 291.9 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.1492, allocations: 2.251 MB / 294.1 MB, free: 19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1492, allocations: 2.953 kB / 294.1 MB, free: 19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1492, allocations: 0.5625 kB / 294.1 MB, free: 19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.1493, allocations: 1.125 kB / 294.1 MB, free: 19 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004945/0.1543, allocations: 2.962 MB / 297.1 MB, free: 17.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1543, allocations: 10.95 kB / 297.1 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009422/0.1552, allocations: 469.5 kB / 297.6 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.1574, allocations: 1.395 MB / 299 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.1575, allocations: 158.5 kB / 299.1 MB, free: 17.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.1577, allocations: 206.4 kB / 299.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.1609, allocations: 1.684 MB / 301 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-05/0.161, allocations: 10.95 kB / 301 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.1611, allocations: 90.67 kB / 301.1 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.1612, allocations: 96.38 kB / 301.2 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.1633, allocations: 0.7449 MB / 301.9 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008255/0.1716, allocations: 6.893 MB / 308.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.1726, allocations: 0.7091 MB / 309.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009236/0.1735, allocations: 0.5678 MB / 310.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.1737, allocations: 48.8 kB / 310.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1737, allocations: 50.17 kB / 310.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.1737, allocations: 3.391 kB / 310.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.005319/0.179, allocations: 3.098 MB / 313.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.179, allocations: 62.84 kB / 313.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009672/0.18, allocations: 1.217 MB / 314.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.1801, allocations: 46.39 kB / 314.6 MB, free: 9.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.1804, allocations: 1.098 MB / 315.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.1806, allocations: 443 kB / 316.2 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.1808, allocations: 261.2 kB / 316.4 MB, free: 8.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.1809, allocations: 0.5433 MB / 317 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.1812, allocations: 227.8 kB / 317.2 MB, free: 7.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.1816, allocations: 0.6721 MB / 317.9 MB, free: 6.484 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.1824, allocations: 1.005 MB / 318.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.1824, allocations: 5.594 kB / 318.9 MB, free: 5.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001422/0.1838, allocations: 1.255 MB / 320.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1838, allocations: 13.11 kB / 320.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1839, allocations: 8 kB / 320.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004875/0.1843, allocations: 228.2 kB / 320.4 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.185, allocations: 318.4 kB / 320.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.1871, allocations: 4.423 MB / 325.1 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.1876, allocations: 86.86 kB / 325.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.1877, allocations: 52 kB / 325.2 MB, free: 14.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004762/0.1882, allocations: 246.9 kB / 325.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.1884, allocations: 195 kB / 325.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.1898, allocations: 1.071 MB / 326.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1898, allocations: 12 kB / 326.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1898, allocations: 0 / 326.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1899, allocations: 11.98 kB / 326.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.1936, allocations: 2.927 MB / 329.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1936, allocations: 3.938 kB / 329.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.1941, allocations: 207.4 kB / 329.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006037/0.1947, allocations: 283.7 kB / 330.2 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.1948, allocations: 27.98 kB / 330.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.198, allocations: 6.172 MB / 336.4 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.198, allocations: 11.5 kB / 336.4 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.1998, allocations: 1.545 MB / 337.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.2002, allocations: 282.9 kB / 338.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.2004, allocations: 24 kB / 338.2 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.2007, allocations: 71.92 kB / 338.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.2009, allocations: 108.8 kB / 338.4 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.201, allocations: 31.94 kB / 338.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006954/0.2017, allocations: 0.7123 MB / 339.2 MB, free: 436 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2017, allocations: 0 / 339.2 MB, free: 436 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0011/0.2028, allocations: 452 kB / 339.6 MB, free: 15.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0002762/0.203, allocations: 186.1 kB / 339.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.2048, allocations: 1.287 MB / 341.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2048, allocations: 4.062 kB / 341.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009578/0.2058, allocations: 1.07 MB / 342.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.2069, allocations: 395.5 kB / 342.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/0.2125, allocations: 3.749 MB / 346.3 MB, free: 9.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.2131, allocations: 0.5672 MB / 346.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001394/0.2145, allocations: 304.5 kB / 347.1 MB, free: 8.309 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.2147, allocations: 104.5 kB / 347.2 MB, free: 8.207 MB / 298.7 MB Notification: Performance of SimCode: time 3.406e-06/0.2147, allocations: 0 / 347.2 MB, free: 8.207 MB / 298.7 MB Notification: Performance of Templates: time 0.03256/0.2473, allocations: 24.96 MB / 372.2 MB, free: 15.66 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.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.6246825107373297]