Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001412/0.001412, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001097/0.001097, allocations: 158.4 kB / 25.61 MB, free: 8.887 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.9318/0.9318, allocations: 177 MB / 205.9 MB, free: 4.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.788e-05, allocations: 2.312 kB / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01203/0.01206, allocations: 9.416 MB / 283.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007937/0.02, allocations: 3.673 MB / 287.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.02173, allocations: 63.56 kB / 287.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.02357, allocations: 0.6597 MB / 288 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.02619, allocations: 0.9664 MB / 288.9 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.02716, allocations: 487 kB / 289.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.03005, allocations: 2.758 MB / 292.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.03125, allocations: 1.081 MB / 293.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.03432, allocations: 2.011 MB / 295.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.03588, allocations: 1.352 MB / 296.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003928/0.03627, allocations: 296 kB / 296.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008388/0.03711, allocations: 0.5462 MB / 297.4 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006772/0.03779, allocations: 1.048 MB / 298.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.03883, allocations: 0.9703 MB / 299.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.042, allocations: 2.464 MB / 301.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.04201, allocations: 0 / 301.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.04201, allocations: 0 / 301.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.24e-05/0.0421, allocations: 0 / 301.9 MB, free: 8.332 MB / 282.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.00413/0.04623, allocations: 3.25 MB / 305.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.04627, allocations: 8.031 kB / 305.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000988/0.04726, allocations: 0.5223 MB / 305.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.04908, allocations: 1.501 MB / 307.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.605e-05/0.04917, allocations: 152.4 kB / 307.4 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.04938, allocations: 212.3 kB / 307.6 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.05129, allocations: 1.536 MB / 309.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.05134, allocations: 3.984 kB / 309.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.05147, allocations: 84 kB / 309.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.503e-05/0.05155, allocations: 99.86 kB / 309.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/0.05246, allocations: 0.6044 MB / 309.9 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00702/0.05948, allocations: 6.082 MB / 316 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.06057, allocations: 0.714 MB / 316.7 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006598/0.06123, allocations: 0.51 MB / 317.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.06137, allocations: 48.98 kB / 317.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.0614, allocations: 46.39 kB / 317.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 3.066e-06/0.0614, allocations: 0 / 317.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.004927/0.06633, allocations: 2.903 MB / 320.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.06637, allocations: 72.66 kB / 320.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.06764, allocations: 1.564 MB / 321.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/0.06771, allocations: 45.7 kB / 321.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006862/0.0684, allocations: 1.278 MB / 323.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.0687, allocations: 483.8 kB / 323.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.06897, allocations: 253.1 kB / 323.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.06912, allocations: 0.5432 MB / 324.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.06939, allocations: 187.8 kB / 324.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.06981, allocations: 0.535 MB / 325.1 MB, free: 476 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.07055, allocations: 0.8091 MB / 325.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.07056, allocations: 4 kB / 325.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002026/0.07258, allocations: 1.323 MB / 327.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.0726, allocations: 8 kB / 327.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.07261, allocations: 4 kB / 327.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.07373, allocations: 0.549 MB / 327.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.07426, allocations: 231.7 kB / 328 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/0.07883, allocations: 5.99 MB / 334 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/0.0796, allocations: 40.06 kB / 334.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-05/0.07969, allocations: 47.97 kB / 334.1 MB, free: 7.094 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005621/0.08025, allocations: 232.3 kB / 334.3 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/0.08063, allocations: 242.7 kB / 334.6 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.08221, allocations: 1.171 MB / 335.8 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.08223, allocations: 15.98 kB / 335.8 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.08224, allocations: 8 kB / 335.8 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.08225, allocations: 3.984 kB / 335.8 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/0.08574, allocations: 2.622 MB / 338.4 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.08575, allocations: 0 / 338.4 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.0862, allocations: 179.8 kB / 338.6 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008195/0.08702, allocations: 420.8 kB / 339 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.08708, allocations: 31.98 kB / 339 MB, free: 2.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/0.09104, allocations: 7.213 MB / 346.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.09104, allocations: 4 kB / 346.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.09301, allocations: 1.581 MB / 347.8 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.09346, allocations: 294.7 kB / 348.1 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.0936, allocations: 31.94 kB / 348.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.09398, allocations: 52.03 kB / 348.2 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.09417, allocations: 108.7 kB / 348.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/0.09422, allocations: 31.98 kB / 348.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006949/0.09492, allocations: 0.8605 MB / 349.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09492, allocations: 4 kB / 349.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001225/0.09614, allocations: 0.4999 MB / 349.7 MB, free: 7.004 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008841/0.09703, allocations: 438.3 kB / 350.1 MB, free: 6.668 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.0986, allocations: 1.363 MB / 351.5 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.0986, allocations: 0 / 351.5 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009912/0.09959, allocations: 1.126 MB / 352.6 MB, free: 4.086 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009798/0.1006, allocations: 400.7 kB / 353 MB, free: 3.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1096/0.2102, allocations: 4.19 MB / 357.2 MB, free: 76.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009987/0.2111, allocations: 0.642 MB / 357.8 MB, free: 76.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009612/0.2121, allocations: 202 kB / 358 MB, free: 76.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009548/0.2131, allocations: 439.7 kB / 358.5 MB, free: 76.46 MB / 330.7 MB Notification: Performance of SimCode: time 2.735e-06/0.2131, allocations: 0 / 358.5 MB, free: 76.46 MB / 330.7 MB Notification: Performance of Templates: time 0.04007/0.2531, allocations: 29.23 MB / 387.7 MB, free: 57.8 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.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: 4.314853873103857]