Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.008031/0.008031, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 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.001894/0.001894, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 259 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 379.9 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3058, allocations: 53.37 MB / 433.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02877/0.3346, allocations: 25.05 MB / 458.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.3525, allocations: 8.122 MB / 466.4 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005278/0.3578, allocations: 218.9 kB / 466.6 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02004/0.3778, allocations: 8.482 MB / 475.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.3901, allocations: 3.159 MB / 478.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006475/0.3966, allocations: 1.876 MB / 480.1 MB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01846/0.4151, allocations: 11.36 MB / 491.5 MB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02642/0.4415, allocations: 14.66 MB / 0.4943 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/0.4517, allocations: 6.075 MB / 0.5002 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0116/0.4633, allocations: 6.565 MB / 0.5066 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005442/0.4687, allocations: 1.715 MB / 0.5083 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007892/0.4766, allocations: 2.16 MB / 0.5104 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006286/0.4829, allocations: 3.414 MB / 0.5138 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.013/0.4959, allocations: 6.354 MB / 0.52 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5347/1.031, allocations: 23.2 MB / 0.5426 GB, free: 41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.031, allocations: 1.125 kB / 0.5426 GB, free: 41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/1.031, allocations: 0 / 0.5426 GB, free: 41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007186/1.031, allocations: 0 / 0.5426 GB, free: 41 MB / 446.1 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.04317/1.074, allocations: 13.58 MB / 0.5559 GB, free: 37.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.075, allocations: 9.125 kB / 0.5559 GB, free: 37.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03467/1.109, allocations: 6.249 MB / 0.562 GB, free: 36.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/1.127, allocations: 7.357 MB / 0.5692 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008383/1.128, allocations: 0.7237 MB / 0.5699 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005038/1.133, allocations: 0.9457 MB / 0.5708 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04746/1.18, allocations: 16.16 MB / 0.5866 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005827/1.181, allocations: 15.33 kB / 0.5866 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005064/1.186, allocations: 402.1 kB / 0.587 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000588/1.187, allocations: 0.563 MB / 0.5875 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03121/1.218, allocations: 15.14 MB / 0.6023 GB, free: 5.188 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1187/1.336, allocations: 51.42 MB / 0.6525 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02599/1.362, allocations: 8.643 MB / 0.661 GB, free: 9.859 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009514/1.372, allocations: 3.325 MB / 0.6642 GB, free: 6.531 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008129/1.373, allocations: 138.5 kB / 0.6643 GB, free: 6.422 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/1.373, allocations: 82.06 kB / 0.6644 GB, free: 6.332 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=447): time 1.127e-05/1.373, allocations: 0 / 0.6644 GB, free: 6.332 MB / 0.4982 GB Notification: Performance of matching and sorting (n=452): time 0.06104/1.434, allocations: 20.55 MB / 0.6845 GB, free: 1.832 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/1.434, allocations: 98.95 kB / 0.6846 GB, free: 1.723 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0095/1.443, allocations: 4.51 MB / 0.689 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.445, allocations: 97.7 kB / 0.6891 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004025/1.449, allocations: 4.333 MB / 0.6933 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002573/1.451, allocations: 1.616 MB / 0.6949 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004371/1.455, allocations: 1.212 MB / 0.6961 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.456, allocations: 301.1 kB / 0.6964 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006314/1.462, allocations: 3.072 MB / 0.6994 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008498/1.47, allocations: 5.218 MB / 0.7045 GB, free: 12.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/1.485, allocations: 8.884 MB / 0.7131 GB, free: 2.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.552e-05/1.486, allocations: 24 kB / 0.7132 GB, free: 2.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02271/1.508, allocations: 9.871 MB / 0.7228 GB, free: 9.371 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/1.508, allocations: 36 kB / 0.7228 GB, free: 9.336 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/1.508, allocations: 68 kB / 0.7229 GB, free: 9.27 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004328/1.513, allocations: 1.404 MB / 0.7243 GB, free: 7.863 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006154/1.519, allocations: 1.392 MB / 0.7256 GB, free: 6.566 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/1.54, allocations: 12.48 MB / 0.7378 GB, free: 9.934 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005758/1.546, allocations: 363.1 kB / 0.7382 GB, free: 9.582 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.547, allocations: 296 kB / 0.7384 GB, free: 9.293 MB / 0.5763 GB 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.009185/1.556, allocations: 3.886 MB / 0.7422 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.558, allocations: 480.9 kB / 0.7427 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/1.575, allocations: 8.476 MB / 0.751 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01286/1.588, allocations: 6.232 MB / 0.7571 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.788e-05/1.588, allocations: 12 kB / 0.7571 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.23e-05/1.588, allocations: 23.91 kB / 0.7571 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3525/1.941, allocations: 17.44 MB / 0.7741 GB, free: 222.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-05/1.941, allocations: 11.34 kB / 0.7741 GB, free: 222.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003247/1.944, allocations: 0.8133 MB / 0.7749 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003294/1.947, allocations: 1.282 MB / 0.7762 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007506/1.948, allocations: 114.4 kB / 0.7763 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/1.962, allocations: 11.37 MB / 0.7874 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/1.962, allocations: 11.78 kB / 0.7874 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/1.979, allocations: 11.21 MB / 0.7984 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003433/1.983, allocations: 1.064 MB / 0.7994 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.984, allocations: 97.62 kB / 0.7995 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.987, allocations: 230.6 kB / 0.7997 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000767/1.988, allocations: 345.4 kB / 0.8 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002703/1.988, allocations: 143.4 kB / 0.8002 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004802/1.993, allocations: 3.123 MB / 0.8032 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.993, allocations: 0 / 0.8032 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009612/2.002, allocations: 1.72 MB / 0.8049 GB, free: 206.6 MB / 0.5919 GB 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.002411/2.005, allocations: 0.5377 MB / 0.8054 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01284/2.018, allocations: 7.677 MB / 0.8129 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/2.018, allocations: 0 / 0.8129 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007188/2.025, allocations: 3.701 MB / 0.8165 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005605/2.031, allocations: 1.051 MB / 0.8176 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03327/2.064, allocations: 18.1 MB / 0.8352 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005742/2.07, allocations: 6.318 MB / 0.8414 GB, free: 171.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001951/2.071, allocations: 457.8 kB / 0.8418 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of SimCode: time 2.014e-06/2.071, allocations: 0 / 0.8418 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.5466/2.618, allocations: 230.5 MB / 1.067 GB, free: 177.5 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 21.85946341883391]