Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 163.5 kB / 24.91 MB, free: 8.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9933/0.9933, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.914e-05, allocations: 2.312 kB / 273.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.00702/0.007039, allocations: 8.753 MB / 282.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005011/0.01205, allocations: 2.982 MB / 285.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009045/0.01295, allocations: 51.69 kB / 285.2 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.01421, allocations: 0.6209 MB / 285.8 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.01608, allocations: 0.8072 MB / 286.7 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.01666, allocations: 327.5 kB / 287 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.01874, allocations: 2.47 MB / 289.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1212/0.14, allocations: 1.016 MB / 290.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003213/0.1432, allocations: 1.739 MB / 292.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/0.1458, allocations: 1.218 MB / 293.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007015/0.1465, allocations: 271 kB / 293.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008319/0.1473, allocations: 376 kB / 294.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007019/0.148, allocations: 0.8093 MB / 294.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.1496, allocations: 0.8604 MB / 295.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.1521, allocations: 2.018 MB / 297.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1522, allocations: 0 / 297.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1522, allocations: 0.875 kB / 297.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.903e-05/0.1522, allocations: 0 / 297.7 MB, free: 15.52 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.003553/0.1558, allocations: 2.378 MB / 300.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1558, allocations: 8.969 kB / 300.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008248/0.1566, allocations: 369.2 kB / 300.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.158, allocations: 0.95 MB / 301.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.512e-05/0.1581, allocations: 139 kB / 301.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.1583, allocations: 183.4 kB / 301.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.1599, allocations: 1.396 MB / 303.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/0.16, allocations: 10.55 kB / 303.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.1601, allocations: 74.59 kB / 303.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.43e-05/0.1602, allocations: 88.89 kB / 303.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/0.161, allocations: 0.5221 MB / 303.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.1662, allocations: 4.771 MB / 308.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.1668, allocations: 0.5301 MB / 309.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/0.1673, allocations: 439.1 kB / 309.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.1675, allocations: 48.48 kB / 309.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1675, allocations: 40.59 kB / 309.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 3.988e-06/0.1675, allocations: 0 / 309.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003918/0.1714, allocations: 2.193 MB / 311.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.1714, allocations: 72.34 kB / 311.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.172, allocations: 0.8985 MB / 312.8 MB, free: 8.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.1721, allocations: 41.7 kB / 312.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.1723, allocations: 0.7621 MB / 313.6 MB, free: 7.695 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.1725, allocations: 373.2 kB / 314 MB, free: 7.352 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.1726, allocations: 198.9 kB / 314.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.1727, allocations: 361.9 kB / 314.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.1729, allocations: 137.4 kB / 314.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.1731, allocations: 426 kB / 315.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.1736, allocations: 0.6994 MB / 315.8 MB, free: 5.441 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1736, allocations: 4 kB / 315.8 MB, free: 5.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001219/0.1749, allocations: 0.9379 MB / 316.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1749, allocations: 8 kB / 316.7 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1749, allocations: 8 kB / 316.7 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009407/0.1758, allocations: 486.2 kB / 317.2 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.1763, allocations: 245.4 kB / 317.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.1795, allocations: 4.158 MB / 321.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/0.1803, allocations: 35.98 kB / 321.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.1803, allocations: 40 kB / 321.7 MB, free: 15.52 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.0005955/0.1809, allocations: 178.3 kB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.1811, allocations: 120 kB / 322 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.1822, allocations: 0.743 MB / 322.7 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.1822, allocations: 19.94 kB / 322.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1822, allocations: 4 kB / 322.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.1822, allocations: 11.95 kB / 322.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.1849, allocations: 1.838 MB / 324.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.1849, allocations: 8.062 kB / 324.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.1854, allocations: 174.5 kB / 324.8 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000633/0.186, allocations: 297.4 kB / 325.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.1861, allocations: 31.97 kB / 325.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002727/0.1888, allocations: 4.365 MB / 329.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1888, allocations: 7.938 kB / 329.5 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.1904, allocations: 1.066 MB / 330.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.1908, allocations: 170 kB / 330.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.1909, allocations: 28 kB / 330.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.1913, allocations: 43.97 kB / 330.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.1914, allocations: 84.59 kB / 330.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.1915, allocations: 16 kB / 330.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005226/0.192, allocations: 457.5 kB / 331.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.192, allocations: 0 / 331.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001261/0.1933, allocations: 419.9 kB / 331.7 MB, free: 5.402 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.0002866/0.1935, allocations: 173 kB / 331.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.1948, allocations: 0.9985 MB / 332.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-05/0.1948, allocations: 18.38 kB / 332.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.1955, allocations: 0.7391 MB / 333.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009179/0.1965, allocations: 331.6 kB / 334 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.2007, allocations: 3.205 MB / 337.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.2011, allocations: 463.7 kB / 337.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005452/0.2017, allocations: 163.2 kB / 337.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005442/0.2022, allocations: 329.1 kB / 338.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of SimCode: time 1.943e-06/0.2022, allocations: 0 / 338.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of Templates: time 0.03166/0.2339, allocations: 23.61 MB / 361.7 MB, free: 7.812 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.27205913932994]