Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009655/0.0009655, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009855/0.0009855, allocations: 174.4 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.091/1.091, allocations: 177.1 MB / 205.3 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 273.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.638e-05, allocations: 6.312 kB / 273.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.00735/0.007367, allocations: 8.746 MB / 282.3 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.01131, allocations: 2.983 MB / 285.2 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/0.01181, allocations: 55.62 kB / 285.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.01284, allocations: 0.6093 MB / 285.9 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.01407, allocations: 0.8072 MB / 286.7 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.01449, allocations: 335.4 kB / 287 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.01608, allocations: 2.47 MB / 289.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1267/0.1428, allocations: 1.009 MB / 290.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.1456, allocations: 1.738 MB / 292.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.1475, allocations: 1.218 MB / 293.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005189/0.148, allocations: 271.1 kB / 293.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007103/0.1487, allocations: 372.2 kB / 294.1 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006574/0.1493, allocations: 0.8056 MB / 294.9 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.1505, allocations: 0.865 MB / 295.8 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.1528, allocations: 2.021 MB / 297.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1528, allocations: 1.625 kB / 297.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1528, allocations: 0 / 297.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.754e-05/0.1529, allocations: 0 / 297.8 MB, free: 16.06 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.003455/0.1563, allocations: 2.376 MB / 300.2 MB, free: 15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1564, allocations: 9.969 kB / 300.2 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.1573, allocations: 365 kB / 300.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.1586, allocations: 0.9435 MB / 301.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/0.1587, allocations: 135.3 kB / 301.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/0.1589, allocations: 193.5 kB / 301.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.1607, allocations: 1.392 MB / 303.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.1607, allocations: 2.406 kB / 303.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.1609, allocations: 75.28 kB / 303.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.348e-05/0.161, allocations: 88.23 kB / 303.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.162, allocations: 0.5254 MB / 303.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.1731, allocations: 4.769 MB / 308.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/0.1739, allocations: 0.5345 MB / 309.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.1745, allocations: 446.4 kB / 309.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.1746, allocations: 38.77 kB / 309.7 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1746, allocations: 46.34 kB / 309.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.976e-06/0.1746, allocations: 0 / 309.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004378/0.179, allocations: 2.189 MB / 311.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1791, allocations: 64.34 kB / 312 MB, free: 9.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006954/0.1797, allocations: 0.8869 MB / 312.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.1798, allocations: 45.7 kB / 312.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.18, allocations: 0.7698 MB / 313.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.1802, allocations: 363.2 kB / 314 MB, free: 7.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.1804, allocations: 206.2 kB / 314.2 MB, free: 7.445 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.1804, allocations: 356.2 kB / 314.6 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.1806, allocations: 141.4 kB / 314.7 MB, free: 6.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.1809, allocations: 429.7 kB / 315.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/0.1814, allocations: 0.6983 MB / 315.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1814, allocations: 4 kB / 315.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001186/0.1826, allocations: 0.9361 MB / 316.8 MB, free: 4.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1827, allocations: 8 kB / 316.8 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1827, allocations: 8 kB / 316.8 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009563/0.1836, allocations: 487 kB / 317.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.1841, allocations: 251.3 kB / 317.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/0.1878, allocations: 4.158 MB / 321.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.1885, allocations: 43.94 kB / 321.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.1886, allocations: 36 kB / 321.7 MB, free: 15.79 MB / 282.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.000541/0.1891, allocations: 185 kB / 321.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.1893, allocations: 119.8 kB / 322 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.1903, allocations: 0.7367 MB / 322.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1903, allocations: 15.98 kB / 322.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1903, allocations: 0 / 322.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.1903, allocations: 7.984 kB / 322.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.193, allocations: 1.845 MB / 324.6 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.193, allocations: 4 kB / 324.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.1935, allocations: 182.1 kB / 324.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006091/0.1941, allocations: 293.7 kB / 325.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.1941, allocations: 27.98 kB / 325.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.1968, allocations: 4.371 MB / 329.5 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1968, allocations: 7.953 kB / 329.5 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.198, allocations: 1.064 MB / 330.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.1983, allocations: 182.1 kB / 330.7 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/0.1984, allocations: 24 kB / 330.8 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.1988, allocations: 39.97 kB / 330.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.1989, allocations: 80.31 kB / 330.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.1989, allocations: 23.98 kB / 330.9 MB, free: 6.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003951/0.1993, allocations: 444.1 kB / 331.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1993, allocations: 0 / 331.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001165/0.2005, allocations: 431.9 kB / 331.8 MB, free: 5.668 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.0002563/0.2007, allocations: 160.3 kB / 331.9 MB, free: 5.512 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.2019, allocations: 1 MB / 332.9 MB, free: 4.543 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/0.2019, allocations: 12.5 kB / 332.9 MB, free: 4.531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006747/0.2026, allocations: 0.7508 MB / 333.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008404/0.2035, allocations: 333.8 kB / 334 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.2074, allocations: 3.184 MB / 337.2 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.2078, allocations: 467.7 kB / 337.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004292/0.2082, allocations: 163.2 kB / 337.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005398/0.2088, allocations: 333.1 kB / 338.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2088, allocations: 0 / 338.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Templates: time 0.03037/0.2392, allocations: 23.61 MB / 361.8 MB, free: 8.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2055640229955316]