Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.0009595/0.0009595, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001081/0.001081, allocations: 162.6 kB / 25.75 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8853/0.8853, allocations: 158.6 MB / 187.5 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 251.2 MB, free: 7.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.64e-05, allocations: 2.312 kB / 251.2 MB, free: 7.734 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01876/0.01877, allocations: 24.36 MB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.03174, allocations: 7.627 MB / 283.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.03358, allocations: 183 kB / 283.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008948/0.04252, allocations: 8.941 MB / 292.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005343/0.04787, allocations: 3.158 MB / 295.4 MB, free: 11.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.05055, allocations: 1.812 MB / 297.3 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009131/0.05968, allocations: 11.68 MB / 308.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01491/0.07459, allocations: 14.58 MB / 323.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009679/0.08427, allocations: 9.053 MB / 332.6 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006037/0.09031, allocations: 6.328 MB / 338.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.09183, allocations: 1.727 MB / 340.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.09438, allocations: 2.124 MB / 342.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.09632, allocations: 3.589 MB / 346.3 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003461/0.09978, allocations: 4.335 MB / 350.7 MB, free: 3.809 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1456/0.2454, allocations: 10.96 MB / 361.6 MB, free: 53.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2454, allocations: 0 / 361.6 MB, free: 53.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2454, allocations: 2.125 kB / 361.6 MB, free: 53.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004845/0.2459, allocations: 0 / 361.6 MB, free: 53.47 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.01991/0.2658, allocations: 14.53 MB / 376.2 MB, free: 49.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2659, allocations: 11.45 kB / 376.2 MB, free: 49.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02265/0.2885, allocations: 9.034 MB / 385.2 MB, free: 48.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/0.3033, allocations: 6.094 MB / 391.3 MB, free: 45.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00096/0.3043, allocations: 0.7332 MB / 392 MB, free: 45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005753/0.3101, allocations: 0.9621 MB / 393 MB, free: 44.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03541/0.3455, allocations: 8.686 MB / 401.7 MB, free: 37.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/0.3458, allocations: 15.22 kB / 401.7 MB, free: 37.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00267/0.3484, allocations: 410 kB / 402.1 MB, free: 37.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000386/0.3488, allocations: 0.5908 MB / 402.7 MB, free: 36.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.3676, allocations: 4.956 MB / 407.6 MB, free: 31.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0652/0.4327, allocations: 42.38 MB / 450 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.4432, allocations: 7.464 MB / 457.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003301/0.4465, allocations: 1.613 MB / 459.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/0.4592, allocations: 6.797 MB / 465.9 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.356e-05/0.4592, allocations: 72.19 kB / 466 MB, free: 6.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=357): time 6.041e-06/0.4592, allocations: 2.516 kB / 466 MB, free: 6.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=362): time 0.02231/0.4816, allocations: 10.55 MB / 476.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.4816, allocations: 94.23 kB / 476.6 MB, free: 11.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006367/0.488, allocations: 4.11 MB / 480.7 MB, free: 7.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001066/0.489, allocations: 81.7 kB / 480.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002968/0.492, allocations: 4.898 MB / 485.7 MB, free: 2.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.4937, allocations: 1.337 MB / 487 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001559/0.4952, allocations: 1.318 MB / 488.4 MB, free: 15.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4953, allocations: 480.8 kB / 488.8 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.4973, allocations: 0.9209 MB / 489.7 MB, free: 14.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/0.501, allocations: 4.47 MB / 494.2 MB, free: 8.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006816/0.5078, allocations: 5.961 MB / 0.4885 GB, free: 1.367 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.868e-05/0.5079, allocations: 20 kB / 0.4885 GB, free: 1.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.1726/0.6805, allocations: 5.685 MB / 0.494 GB, free: 129.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.763e-05/0.6806, allocations: 42.69 kB / 0.4941 GB, free: 129.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/0.6807, allocations: 77.34 kB / 0.4941 GB, free: 129.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/0.6836, allocations: 1.299 MB / 0.4954 GB, free: 129.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003705/0.6873, allocations: 1.33 MB / 0.4967 GB, free: 129.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009171/0.6965, allocations: 8.784 MB / 0.5053 GB, free: 125.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/0.7007, allocations: 363.6 kB / 0.5056 GB, free: 125.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001239/0.702, allocations: 301.6 kB / 0.5059 GB, free: 125.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003667/0.7056, allocations: 0.548 MB / 0.5065 GB, free: 124.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/0.7066, allocations: 0.5543 MB / 0.507 GB, free: 124.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00627/0.7129, allocations: 3.731 MB / 0.5106 GB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004299/0.7172, allocations: 2.665 MB / 0.5132 GB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/0.7172, allocations: 10.62 kB / 0.5133 GB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-05/0.7173, allocations: 18.84 kB / 0.5133 GB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/0.7376, allocations: 10.85 MB / 0.5239 GB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.7376, allocations: 4.875 kB / 0.5239 GB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.7393, allocations: 0.6651 MB / 0.5245 GB, free: 121.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002444/0.7417, allocations: 1.169 MB / 0.5257 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004662/0.7422, allocations: 98.66 kB / 0.5258 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007561/0.7497, allocations: 8.266 MB / 0.5338 GB, free: 113.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.7497, allocations: 11.22 kB / 0.5338 GB, free: 113.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008356/0.7581, allocations: 4.69 MB / 0.5384 GB, free: 109.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/0.7604, allocations: 0.8778 MB / 0.5393 GB, free: 108.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006946/0.7611, allocations: 76 kB / 0.5393 GB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.7625, allocations: 214.1 kB / 0.5395 GB, free: 108.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005456/0.763, allocations: 286.5 kB / 0.5398 GB, free: 108.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.7632, allocations: 111.8 kB / 0.5399 GB, free: 108.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002719/0.7659, allocations: 1.925 MB / 0.5418 GB, free: 106.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7659, allocations: 4 kB / 0.5418 GB, free: 106.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00615/0.7721, allocations: 1.683 MB / 0.5435 GB, free: 104.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001712/0.7738, allocations: 498.4 kB / 0.5439 GB, free: 104.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007317/0.7811, allocations: 4.458 MB / 0.5483 GB, free: 100.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.7811, allocations: 2.625 kB / 0.5483 GB, free: 100.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00308/0.7842, allocations: 2.342 MB / 0.5506 GB, free: 98.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/0.7874, allocations: 0.9494 MB / 0.5515 GB, free: 97.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/0.809, allocations: 15.01 MB / 0.5662 GB, free: 82.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/0.8116, allocations: 2.75 MB / 0.5688 GB, free: 79.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003464/0.815, allocations: 1.768 MB / 0.5706 GB, free: 77.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/0.8158, allocations: 348.4 kB / 0.5709 GB, free: 77.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.974e-06/0.8158, allocations: 0 / 0.5709 GB, free: 77.16 MB / 394.7 MB Notification: Performance of Templates: time 0.07545/0.8913, allocations: 61.92 MB / 0.6314 GB, free: 15.21 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/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: 6.100308668101206]