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.001972/0.001972, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002013/0.002013, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.566/1.566, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.896e-05, allocations: 6.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01357/0.01359, allocations: 8.847 MB / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006602/0.0202, allocations: 2.878 MB / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.02149, allocations: 63.62 kB / 284 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.02351, allocations: 0.5977 MB / 284.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.02634, allocations: 0.8111 MB / 285.4 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.02734, allocations: 335.4 kB / 285.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003603/0.03095, allocations: 2.454 MB / 288.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.03301, allocations: 0.9891 MB / 289.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1339/0.1669, allocations: 1.599 MB / 290.8 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003194/0.1701, allocations: 1.275 MB / 292.1 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007336/0.1709, allocations: 279.2 kB / 292.3 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.1722, allocations: 378.5 kB / 292.7 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.1733, allocations: 0.8454 MB / 293.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.1748, allocations: 0.881 MB / 294.4 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.1795, allocations: 3.767 MB / 298.2 MB, free: 16.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1795, allocations: 4.188 kB / 298.2 MB, free: 16.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1795, allocations: 1.438 kB / 298.2 MB, free: 16.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.14e-05/0.1796, allocations: 0.9062 kB / 298.2 MB, free: 16.41 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.005317/0.1849, allocations: 2.939 MB / 301.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.185, allocations: 13.58 kB / 301.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.1862, allocations: 446.8 kB / 301.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.1885, allocations: 1.314 MB / 302.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-05/0.1886, allocations: 136.8 kB / 303 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.1889, allocations: 183.8 kB / 303.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003366/0.1923, allocations: 2.305 MB / 305.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/0.1923, allocations: 10.27 kB / 305.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.1925, allocations: 77.48 kB / 305.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.747e-05/0.1926, allocations: 88.86 kB / 305.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.1949, allocations: 1.498 MB / 307.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.2052, allocations: 8.622 MB / 315.8 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.2064, allocations: 0.6956 MB / 316.5 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.2076, allocations: 0.6241 MB / 317.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.2078, allocations: 47.62 kB / 317.2 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2078, allocations: 48.2 kB / 317.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 3.016e-06/0.2079, allocations: 4 kB / 317.2 MB, free: 3.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.006717/0.2146, allocations: 3.167 MB / 320.4 MB, free: 156 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2146, allocations: 64.41 kB / 320.5 MB, free: 80 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.2169, allocations: 1.481 MB / 321.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.265e-05/0.2169, allocations: 45.7 kB / 322 MB, free: 14.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.218, allocations: 1.082 MB / 323.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.2184, allocations: 395.8 kB / 323.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004816/0.2189, allocations: 264.5 kB / 323.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003657/0.2192, allocations: 0.5707 MB / 324.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/0.22, allocations: 326.4 kB / 324.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.2211, allocations: 0.7742 MB / 325.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.2233, allocations: 1.208 MB / 326.6 MB, free: 9.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.2233, allocations: 4 kB / 326.6 MB, free: 9.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003763/0.2271, allocations: 1.586 MB / 328.2 MB, free: 8.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2271, allocations: 8.25 kB / 328.2 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.2271, allocations: 15.94 kB / 328.2 MB, free: 8.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/0.2294, allocations: 0.5504 MB / 328.7 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009212/0.2303, allocations: 230.8 kB / 329 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009825/0.2401, allocations: 6.192 MB / 335.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.2414, allocations: 76.38 kB / 335.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.2415, allocations: 55.98 kB / 335.3 MB, free: 0.7773 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%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001147/0.2427, allocations: 0.5231 MB / 335.8 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/0.2431, allocations: 171.1 kB / 336 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.2461, allocations: 1.16 MB / 337.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.2461, allocations: 8 kB / 337.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.2461, allocations: 4 kB / 337.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.2461, allocations: 7.922 kB / 337.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007656/0.2538, allocations: 3.282 MB / 340.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.2538, allocations: 12.03 kB / 340.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/0.2546, allocations: 186.1 kB / 340.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.2559, allocations: 294.3 kB / 340.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.891e-05/0.256, allocations: 31.98 kB / 341 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007305/0.2633, allocations: 6.396 MB / 347.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.2633, allocations: 3.938 kB / 347.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/0.2676, allocations: 1.7 MB / 349.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/0.2685, allocations: 262.3 kB / 349.3 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.2687, allocations: 31.98 kB / 349.3 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007754/0.2695, allocations: 59.94 kB / 349.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.2697, allocations: 84.83 kB / 349.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/0.2698, allocations: 27.98 kB / 349.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001567/0.2714, allocations: 0.8964 MB / 350.4 MB, free: 1.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2714, allocations: 4 kB / 350.4 MB, free: 1.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001641/0.273, allocations: 439.9 kB / 350.8 MB, free: 0.7812 MB / 298.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.0003985/0.2734, allocations: 177.4 kB / 351 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003346/0.2768, allocations: 1.578 MB / 352.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.2768, allocations: 4 kB / 352.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.2789, allocations: 1.159 MB / 353.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.2808, allocations: 339.7 kB / 354.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006844/0.2876, allocations: 3.552 MB / 357.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.289, allocations: 1.048 MB / 358.7 MB, free: 8.812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008396/0.2899, allocations: 243 kB / 358.9 MB, free: 8.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.2902, allocations: 96.47 kB / 359 MB, free: 8.477 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2902, allocations: 0 / 359 MB, free: 8.477 MB / 314.7 MB Notification: Performance of Templates: time 0.0446/0.3348, allocations: 23.22 MB / 382.2 MB, free: 1.613 MB / 330.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5393585780402645]