Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001862/0.001862, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002016/0.002016, allocations: 169.6 kB / 24.28 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.4 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.873e-05, allocations: 2.312 kB / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1602/0.1602, allocations: 24.27 MB / 296.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.177, allocations: 7.965 MB / 304.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006032/0.183, allocations: 214.8 kB / 304.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01878/0.2018, allocations: 8.926 MB / 313.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.2129, allocations: 3.169 MB / 316.9 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005632/0.2185, allocations: 1.844 MB / 318.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01633/0.2348, allocations: 11.69 MB / 330.5 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02943/0.2643, allocations: 14.53 MB / 345 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02074/0.285, allocations: 8.971 MB / 353.9 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01293/0.2979, allocations: 6.219 MB / 360.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005225/0.3032, allocations: 1.711 MB / 361.9 MB, free: 9.301 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007486/0.3106, allocations: 2.155 MB / 364 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006027/0.3167, allocations: 3.526 MB / 367.6 MB, free: 3.609 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009816/0.3265, allocations: 4.285 MB / 371.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03387/0.3604, allocations: 23.63 MB / 395.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3604, allocations: 0 / 395.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3604, allocations: 0 / 395.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005867/0.361, allocations: 0 / 395.5 MB, free: 7.625 MB / 346.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.04691/0.4079, allocations: 15.58 MB / 411.1 MB, free: 7.945 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.4079, allocations: 12.03 kB / 411.1 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04164/0.4495, allocations: 7.841 MB / 418.9 MB, free: 80 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01969/0.4692, allocations: 7.029 MB / 425.9 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/0.4702, allocations: 0.7185 MB / 426.7 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004141/0.4744, allocations: 0.9452 MB / 427.6 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2724/0.7468, allocations: 16.63 MB / 444.2 MB, free: 100.9 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006283/0.7474, allocations: 15.06 kB / 444.2 MB, free: 100.9 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003478/0.7509, allocations: 400 kB / 444.6 MB, free: 100.6 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009059/0.7518, allocations: 0.5581 MB / 445.2 MB, free: 100.5 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03094/0.7828, allocations: 13.41 MB / 458.6 MB, free: 95.46 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1196/0.9024, allocations: 104.8 MB / 0.5502 GB, free: 5.73 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01915/0.9215, allocations: 7.999 MB / 0.558 GB, free: 14.5 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006358/0.9279, allocations: 2.891 MB / 0.5608 GB, free: 11.62 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005582/0.9284, allocations: 139.4 kB / 0.5609 GB, free: 11.48 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.825e-05/0.9285, allocations: 80.89 kB / 0.561 GB, free: 11.39 MB / 410.8 MB Notification: Performance of pre-optimization done (n=447): time 7.144e-06/0.9285, allocations: 0 / 0.561 GB, free: 11.39 MB / 410.8 MB Notification: Performance of matching and sorting (n=452): time 0.0542/0.9827, allocations: 18.27 MB / 0.5789 GB, free: 9.469 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.9828, allocations: 102.9 kB / 0.579 GB, free: 9.355 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/0.9935, allocations: 5.844 MB / 0.5847 GB, free: 3.617 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007886/0.9943, allocations: 93.7 kB / 0.5848 GB, free: 3.52 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1491/1.143, allocations: 4.913 MB / 0.5896 GB, free: 127.4 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002148/1.146, allocations: 1.839 MB / 0.5913 GB, free: 126.9 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002795/1.148, allocations: 1.603 MB / 0.5929 GB, free: 126.8 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.159e-05/1.148, allocations: 477.9 kB / 0.5934 GB, free: 126.3 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004821/1.153, allocations: 2.506 MB / 0.5958 GB, free: 126.3 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006716/1.16, allocations: 6.008 MB / 0.6017 GB, free: 122.5 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/1.171, allocations: 9.621 MB / 0.6111 GB, free: 118.5 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/1.171, allocations: 18.62 kB / 0.6111 GB, free: 118.5 MB / 426.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01605/1.187, allocations: 9.071 MB / 0.62 GB, free: 117.5 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.849e-05/1.187, allocations: 40.88 kB / 0.62 GB, free: 117.5 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001635/1.187, allocations: 71.5 kB / 0.6201 GB, free: 117.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004343/1.192, allocations: 1.583 MB / 0.6216 GB, free: 117.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005176/1.197, allocations: 1.388 MB / 0.623 GB, free: 117.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/1.212, allocations: 13.42 MB / 0.6361 GB, free: 108.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/1.217, allocations: 347.2 kB / 0.6364 GB, free: 108.5 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007867/1.218, allocations: 298.8 kB / 0.6367 GB, free: 108.5 MB / 426.8 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.005048/1.223, allocations: 3.504 MB / 0.6401 GB, free: 106.6 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.224, allocations: 0.6053 MB / 0.6407 GB, free: 106.3 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.237, allocations: 8.565 MB / 0.6491 GB, free: 102.2 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008075/1.245, allocations: 5.32 MB / 0.6543 GB, free: 96.84 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/1.245, allocations: 12 kB / 0.6543 GB, free: 96.82 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-05/1.245, allocations: 19.92 kB / 0.6543 GB, free: 96.8 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0297/1.274, allocations: 19.03 MB / 0.6729 GB, free: 77.59 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/1.274, allocations: 8 kB / 0.6729 GB, free: 77.58 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/1.278, allocations: 0.8036 MB / 0.6737 GB, free: 76.78 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003985/1.282, allocations: 1.452 MB / 0.6751 GB, free: 75.32 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005397/1.282, allocations: 108 kB / 0.6752 GB, free: 75.21 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/1.295, allocations: 12.37 MB / 0.6873 GB, free: 62.63 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.295, allocations: 11.94 kB / 0.6873 GB, free: 62.62 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.309, allocations: 9.643 MB / 0.6967 GB, free: 52.79 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/1.312, allocations: 0.9498 MB / 0.6976 GB, free: 51.84 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007064/1.312, allocations: 92 kB / 0.6977 GB, free: 51.75 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.315, allocations: 227.8 kB / 0.6979 GB, free: 51.53 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006485/1.315, allocations: 347.2 kB / 0.6983 GB, free: 51.19 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002686/1.315, allocations: 140 kB / 0.6984 GB, free: 51.05 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00365/1.319, allocations: 3.083 MB / 0.7014 GB, free: 47.99 MB / 426.8 MB Notification: Performance of sort global known variables: time 8.1e-08/1.319, allocations: 0 / 0.7014 GB, free: 47.99 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005368/1.324, allocations: 1.718 MB / 0.7031 GB, free: 46.28 MB / 426.8 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.002961/1.327, allocations: 0.5751 MB / 0.7036 GB, free: 45.91 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01132/1.339, allocations: 7.465 MB / 0.7109 GB, free: 38.4 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.339, allocations: 4 kB / 0.7109 GB, free: 38.4 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005741/1.345, allocations: 3.691 MB / 0.7145 GB, free: 34.67 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004645/1.349, allocations: 0.9905 MB / 0.7155 GB, free: 33.71 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/1.374, allocations: 17 MB / 0.7321 GB, free: 16.49 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005107/1.38, allocations: 5.532 MB / 0.7375 GB, free: 10.92 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.1376/1.517, allocations: 1.772 MB / 0.7392 GB, free: 107.9 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/1.519, allocations: 396.1 kB / 0.7396 GB, free: 107.9 MB / 426.8 MB Notification: Performance of SimCode: time 1.843e-06/1.519, allocations: 0 / 0.7396 GB, free: 107.9 MB / 426.8 MB Notification: Performance of Templates: time 0.1023/1.621, allocations: 66.36 MB / 0.8044 GB, free: 77.02 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.373799541033804]