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.001003/0.001003, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001022/0.001022, allocations: 166.3 kB / 25.33 MB, free: 9.074 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.9034/0.9034, allocations: 158.6 MB / 187.2 MB, free: 2.512 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.653e-06/1.653e-06, allocations: 0 / 251.1 MB, free: 3.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.724e-05, allocations: 2.312 kB / 251.1 MB, free: 3.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02078/0.02081, allocations: 24.49 MB / 275.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.03576, allocations: 7.655 MB / 283.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005652/0.04141, allocations: 187 kB / 283.4 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01202/0.05343, allocations: 8.972 MB / 292.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.06386, allocations: 3.177 MB / 295.6 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004705/0.06856, allocations: 1.797 MB / 297.4 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1507/0.2192, allocations: 11.69 MB / 309.1 MB, free: 16.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02218/0.2414, allocations: 14.56 MB / 323.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01572/0.2571, allocations: 9.134 MB / 332.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.2676, allocations: 6.49 MB / 339.3 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004393/0.272, allocations: 1.723 MB / 341 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006376/0.2783, allocations: 2.135 MB / 343.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005312/0.2836, allocations: 3.572 MB / 346.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01237/0.296, allocations: 4.315 MB / 351 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02214/0.3182, allocations: 10.97 MB / 362 MB, free: 2.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.3182, allocations: 0 / 362 MB, free: 2.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3182, allocations: 0 / 362 MB, free: 2.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0007493/0.3189, allocations: 0 / 362 MB, free: 2.848 MB / 298.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.03278/0.3517, allocations: 14.54 MB / 376.5 MB, free: 4.348 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.369e-05/0.3518, allocations: 15.98 kB / 376.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02758/0.3793, allocations: 9.024 MB / 385.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/0.3913, allocations: 6.097 MB / 391.7 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006764/0.3919, allocations: 0.738 MB / 392.4 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003944/0.3959, allocations: 0.963 MB / 393.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02971/0.4256, allocations: 8.69 MB / 402 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003311/0.4259, allocations: 11.94 kB / 402.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002439/0.4284, allocations: 408.5 kB / 402.5 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005078/0.4289, allocations: 0.5869 MB / 403 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.4481, allocations: 4.961 MB / 408 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3317/0.7797, allocations: 42.36 MB / 450.4 MB, free: 68.06 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.7901, allocations: 7.482 MB / 457.9 MB, free: 67.69 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002692/0.7928, allocations: 1.605 MB / 459.5 MB, free: 67.61 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.8034, allocations: 6.778 MB / 466.2 MB, free: 67.19 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/0.8034, allocations: 76 kB / 466.3 MB, free: 67.14 MB / 378.8 MB Notification: Performance of pre-optimization done (n=357): time 5.49e-06/0.8034, allocations: 0.625 kB / 466.3 MB, free: 67.14 MB / 378.8 MB Notification: Performance of matching and sorting (n=362): time 0.01957/0.823, allocations: 10.56 MB / 476.9 MB, free: 65.38 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.8231, allocations: 86.31 kB / 477 MB, free: 65.31 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004272/0.8273, allocations: 4.073 MB / 481 MB, free: 64.8 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002869/0.8276, allocations: 83.77 kB / 481.1 MB, free: 64.77 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.8296, allocations: 4.913 MB / 486 MB, free: 62.77 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007646/0.8304, allocations: 1.338 MB / 487.4 MB, free: 61.94 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.8316, allocations: 1.32 MB / 488.7 MB, free: 61.82 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.8316, allocations: 484.7 kB / 489.2 MB, free: 61.34 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.8329, allocations: 0.9121 MB / 490.1 MB, free: 61.33 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.8353, allocations: 4.48 MB / 494.5 MB, free: 57.04 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004191/0.8395, allocations: 5.955 MB / 0.4888 GB, free: 52.68 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-05/0.8395, allocations: 20.97 kB / 0.4888 GB, free: 52.68 MB / 378.8 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.007192/0.8467, allocations: 5.687 MB / 0.4943 GB, free: 52.19 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.8467, allocations: 40 kB / 0.4944 GB, free: 52.19 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.86e-05/0.8468, allocations: 76.38 kB / 0.4945 GB, free: 52.19 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.8492, allocations: 1.303 MB / 0.4957 GB, free: 52.11 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/0.8518, allocations: 1.327 MB / 0.497 GB, free: 52.11 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007299/0.8591, allocations: 8.78 MB / 0.5056 GB, free: 47.08 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/0.8623, allocations: 365.4 kB / 0.5059 GB, free: 46.88 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005843/0.8628, allocations: 297.6 kB / 0.5062 GB, free: 46.65 MB / 378.8 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.002197/0.865, allocations: 0.5514 MB / 0.5068 GB, free: 46.34 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007702/0.8658, allocations: 0.5582 MB / 0.5073 GB, free: 45.84 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/0.8706, allocations: 3.736 MB / 0.511 GB, free: 43.7 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003437/0.874, allocations: 2.655 MB / 0.5136 GB, free: 41.9 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.874, allocations: 15.94 kB / 0.5136 GB, free: 41.88 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.8741, allocations: 22.47 kB / 0.5136 GB, free: 41.88 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.8891, allocations: 10.83 MB / 0.5242 GB, free: 32.62 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.8891, allocations: 4 kB / 0.5242 GB, free: 32.62 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.8906, allocations: 0.6591 MB / 0.5248 GB, free: 31.99 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/0.8927, allocations: 1.172 MB / 0.526 GB, free: 30.82 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.8929, allocations: 87.97 kB / 0.526 GB, free: 30.73 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006194/0.8991, allocations: 8.278 MB / 0.5341 GB, free: 22.26 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8991, allocations: 11.31 kB / 0.5341 GB, free: 22.25 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006476/0.9056, allocations: 4.687 MB / 0.5387 GB, free: 17.45 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/0.9072, allocations: 0.8717 MB / 0.5396 GB, free: 16.57 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/0.9076, allocations: 68 kB / 0.5396 GB, free: 16.51 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.9087, allocations: 219.8 kB / 0.5398 GB, free: 16.29 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000529/0.9092, allocations: 286.4 kB / 0.5401 GB, free: 16.02 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.9094, allocations: 116 kB / 0.5402 GB, free: 15.91 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002175/0.9116, allocations: 1.893 MB / 0.5421 GB, free: 14 MB / 378.8 MB Notification: Performance of sort global known variables: time 3.01e-07/0.9116, allocations: 0 / 0.5421 GB, free: 14 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004833/0.9164, allocations: 1.672 MB / 0.5437 GB, free: 12.33 MB / 378.8 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.001052/0.9175, allocations: 0.4914 MB / 0.5442 GB, free: 11.91 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006002/0.9235, allocations: 4.451 MB / 0.5485 GB, free: 7.648 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9235, allocations: 4 kB / 0.5485 GB, free: 7.645 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002735/0.9262, allocations: 2.347 MB / 0.5508 GB, free: 5.336 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/0.9291, allocations: 0.9494 MB / 0.5518 GB, free: 4.379 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/0.9527, allocations: 14.98 MB / 0.5664 GB, free: 5.242 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/0.9557, allocations: 2.757 MB / 0.5691 GB, free: 2.457 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003976/0.9597, allocations: 1.756 MB / 0.5708 GB, free: 0.6953 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009452/0.9606, allocations: 344.4 kB / 0.5711 GB, free: 364 kB / 394.8 MB Notification: Performance of SimCode: time 2.184e-06/0.9606, allocations: 0 / 0.5711 GB, free: 364 kB / 394.8 MB Notification: Performance of Templates: time 0.2138/1.174, allocations: 63.84 MB / 0.6335 GB, free: 93.68 MB / 410.8 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.170697599649429]