Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 92.62 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 149.4 kB / 24.25 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.579e-06/4.579e-06, allocations: 4 kB / 267.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.497e-05, allocations: 6.25 kB / 267.4 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02998/0.03001, allocations: 21.45 MB / 288.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1458/0.1758, allocations: 7.568 MB / 296.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005907/0.1818, allocations: 215.3 kB / 296.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01965/0.2014, allocations: 8.243 MB / 304.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.213, allocations: 3.096 MB / 307.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005819/0.2188, allocations: 1.807 MB / 309.8 MB, free: 10 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.2329, allocations: 11.58 MB / 321.3 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03201/0.2649, allocations: 14.52 MB / 335.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02316/0.2881, allocations: 8.892 MB / 344.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/0.3013, allocations: 5.617 MB / 350.4 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004915/0.3063, allocations: 1.719 MB / 352.1 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007801/0.3141, allocations: 2.128 MB / 354.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006038/0.3201, allocations: 3.464 MB / 357.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01063/0.3307, allocations: 4.222 MB / 361.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03748/0.3682, allocations: 23.48 MB / 385.4 MB, free: 3.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3682, allocations: 0 / 385.4 MB, free: 3.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3682, allocations: 4 kB / 385.4 MB, free: 3.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006891/0.3689, allocations: 0 / 385.4 MB, free: 3.668 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04719/0.4161, allocations: 13.43 MB / 398.8 MB, free: 6.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4161, allocations: 8.922 kB / 398.8 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04147/0.4576, allocations: 7.904 MB / 406.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/0.4772, allocations: 7.667 MB / 414.4 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/0.4783, allocations: 0.7224 MB / 415.1 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00447/0.4828, allocations: 0.9491 MB / 416.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04771/0.5305, allocations: 16.27 MB / 432.3 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005383/0.5311, allocations: 15.89 kB / 432.3 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004048/0.5351, allocations: 400 kB / 432.7 MB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008531/0.536, allocations: 0.5669 MB / 433.3 MB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1951/0.731, allocations: 15.02 MB / 448.3 MB, free: 110.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08442/0.8154, allocations: 46.59 MB / 494.9 MB, free: 72.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/0.83, allocations: 8.534 MB / 0.4917 GB, free: 64.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005657/0.8357, allocations: 3.314 MB / 0.4949 GB, free: 61.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005313/0.8362, allocations: 119.4 kB / 0.495 GB, free: 61.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.355e-05/0.8363, allocations: 81.44 kB / 0.4951 GB, free: 61.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=447): time 8.807e-06/0.8363, allocations: 0 / 0.4951 GB, free: 61.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=452): time 0.05/0.8863, allocations: 20.45 MB / 0.5151 GB, free: 40.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.8863, allocations: 103 kB / 0.5152 GB, free: 40.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008099/0.8944, allocations: 4.399 MB / 0.5194 GB, free: 36.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009912/0.8954, allocations: 101.7 kB / 0.5195 GB, free: 36.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002315/0.8977, allocations: 4.315 MB / 0.5238 GB, free: 31.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001596/0.8993, allocations: 1.595 MB / 0.5253 GB, free: 30.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003416/0.9028, allocations: 1.184 MB / 0.5265 GB, free: 28.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.9028, allocations: 305.1 kB / 0.5268 GB, free: 28.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004814/0.9076, allocations: 3.061 MB / 0.5298 GB, free: 25.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00582/0.9135, allocations: 5.231 MB / 0.5349 GB, free: 19.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.9244, allocations: 8.852 MB / 0.5435 GB, free: 9.527 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.446e-05/0.9245, allocations: 24 kB / 0.5435 GB, free: 9.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01861/0.9431, allocations: 10.08 MB / 0.5534 GB, free: 15.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.9432, allocations: 36 kB / 0.5534 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/0.9434, allocations: 68.34 kB / 0.5535 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005531/0.9489, allocations: 1.588 MB / 0.555 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006157/0.9551, allocations: 1.381 MB / 0.5564 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/0.9777, allocations: 12.13 MB / 0.5682 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005336/0.9831, allocations: 347.6 kB / 0.5686 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/0.9847, allocations: 300 kB / 0.5688 GB, free: 15.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009771/0.9945, allocations: 3.88 MB / 0.5726 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002515/0.997, allocations: 0.5947 MB / 0.5732 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/1.016, allocations: 8.423 MB / 0.5814 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2025/1.219, allocations: 6.17 MB / 0.5875 GB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.792e-05/1.219, allocations: 11.72 kB / 0.5875 GB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.332e-05/1.219, allocations: 27.86 kB / 0.5875 GB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/1.246, allocations: 14.94 MB / 0.6021 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6e-05/1.246, allocations: 8.969 kB / 0.6021 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004605/1.251, allocations: 0.8042 MB / 0.6029 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007026/1.258, allocations: 1.441 MB / 0.6043 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00118/1.259, allocations: 106.7 kB / 0.6044 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02373/1.283, allocations: 11.05 MB / 0.6152 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/1.283, allocations: 15.72 kB / 0.6152 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02982/1.313, allocations: 11.26 MB / 0.6262 GB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005038/1.318, allocations: 1.036 MB / 0.6272 GB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001942/1.32, allocations: 87.14 kB / 0.6273 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00562/1.325, allocations: 237.3 kB / 0.6275 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001652/1.327, allocations: 344.6 kB / 0.6278 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009446/1.328, allocations: 135.5 kB / 0.628 GB, free: 109.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00833/1.336, allocations: 2.939 MB / 0.6308 GB, free: 106.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.336, allocations: 4 kB / 0.6308 GB, free: 106.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01298/1.349, allocations: 1.72 MB / 0.6325 GB, free: 105.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (417): * Single equations (assignments): 414 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004227/1.354, allocations: 0.5757 MB / 0.6331 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02259/1.376, allocations: 7.638 MB / 0.6405 GB, free: 98.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.172e-05/1.376, allocations: 4 kB / 0.6405 GB, free: 98.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01182/1.388, allocations: 3.669 MB / 0.6441 GB, free: 94.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009857/1.398, allocations: 0.9763 MB / 0.6451 GB, free: 93.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.038/1.436, allocations: 18.53 MB / 0.6632 GB, free: 75.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009816/1.446, allocations: 6.062 MB / 0.6691 GB, free: 68.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006537/1.452, allocations: 2.086 MB / 0.6711 GB, free: 66.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/1.454, allocations: 372.4 kB / 0.6715 GB, free: 66.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.813e-06/1.454, allocations: 0 / 0.6715 GB, free: 66.5 MB / 410.7 MB Notification: Performance of Templates: time 0.2617/1.716, allocations: 65.83 MB / 0.7358 GB, free: 113.4 MB / 410.7 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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: 10.066070539993234]