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.001269/0.001269, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001395/0.001395, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.002029/0.002029, allocations: 63.84 kB / 378.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2655, allocations: 53.32 MB / 432.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02973/0.2952, allocations: 25.05 MB / 457.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.3131, allocations: 8.11 MB / 465.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004312/0.3174, allocations: 183.4 kB / 465.4 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02047/0.3379, allocations: 8.467 MB / 473.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.3488, allocations: 3.081 MB / 477 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005803/0.3546, allocations: 1.836 MB / 478.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01772/0.3723, allocations: 11.24 MB / 490.1 MB, free: 13.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02813/0.4004, allocations: 13.9 MB / 0.4922 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01088/0.4113, allocations: 5.954 MB / 0.498 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01304/0.4244, allocations: 6.553 MB / 0.5044 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00521/0.4296, allocations: 1.715 MB / 0.506 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007419/0.437, allocations: 2.152 MB / 0.5081 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006407/0.4434, allocations: 3.402 MB / 0.5115 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01372/0.4571, allocations: 6.37 MB / 0.5177 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5146/0.9717, allocations: 23.18 MB / 0.5403 GB, free: 40 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.9718, allocations: 1.531 kB / 0.5403 GB, free: 40 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.9718, allocations: 0 / 0.5403 GB, free: 40 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006739/0.9724, allocations: 0 / 0.5403 GB, free: 40 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.04054/1.013, allocations: 13.65 MB / 0.5537 GB, free: 36.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.013, allocations: 11.5 kB / 0.5537 GB, free: 36.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03405/1.047, allocations: 6.251 MB / 0.5598 GB, free: 35.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/1.063, allocations: 7.287 MB / 0.5669 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006543/1.063, allocations: 0.7205 MB / 0.5676 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003925/1.067, allocations: 0.9483 MB / 0.5685 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03625/1.104, allocations: 16.17 MB / 0.5843 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003018/1.104, allocations: 11.94 kB / 0.5843 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002686/1.107, allocations: 397.9 kB / 0.5847 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004088/1.107, allocations: 0.5668 MB / 0.5853 GB, free: 20.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02562/1.133, allocations: 15.14 MB / 0.6 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0959/1.229, allocations: 52.65 MB / 0.6515 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02407/1.253, allocations: 19.69 MB / 0.6707 GB, free: 11.07 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006527/1.259, allocations: 3.331 MB / 0.674 GB, free: 7.738 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006372/1.26, allocations: 293.2 kB / 0.6742 GB, free: 7.441 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.399e-05/1.26, allocations: 78.06 kB / 0.6743 GB, free: 7.355 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 7.334e-06/1.26, allocations: 0 / 0.6743 GB, free: 7.355 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.05882/1.319, allocations: 20.77 MB / 0.6946 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/1.319, allocations: 98.95 kB / 0.6947 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008797/1.328, allocations: 4.513 MB / 0.6991 GB, free: 13.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008818/1.328, allocations: 97.7 kB / 0.6992 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003659/1.332, allocations: 4.335 MB / 0.7034 GB, free: 9.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002427/1.335, allocations: 1.616 MB / 0.705 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003615/1.338, allocations: 1.208 MB / 0.7062 GB, free: 6.676 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.338, allocations: 309.1 kB / 0.7065 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005842/1.344, allocations: 3.065 MB / 0.7095 GB, free: 3.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008354/1.352, allocations: 5.22 MB / 0.7146 GB, free: 13.14 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/1.368, allocations: 8.878 MB / 0.7232 GB, free: 3.57 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.968e-05/1.368, allocations: 20 kB / 0.7233 GB, free: 3.551 MB / 0.5607 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02205/1.39, allocations: 9.873 MB / 0.7329 GB, free: 10.11 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.39, allocations: 32.34 kB / 0.7329 GB, free: 10.08 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/1.39, allocations: 76 kB / 0.733 GB, free: 10 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004243/1.394, allocations: 1.403 MB / 0.7344 GB, free: 8.598 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005808/1.4, allocations: 1.382 MB / 0.7357 GB, free: 7.309 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02011/1.42, allocations: 12.69 MB / 0.7481 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005192/1.425, allocations: 351.7 kB / 0.7484 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/1.427, allocations: 300 kB / 0.7487 GB, free: 9.777 MB / 0.5919 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.008677/1.435, allocations: 3.881 MB / 0.7525 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/1.437, allocations: 496.8 kB / 0.753 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2774/1.714, allocations: 8.463 MB / 0.7613 GB, free: 225.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01001/1.724, allocations: 6.229 MB / 0.7673 GB, free: 224 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/1.724, allocations: 10.78 kB / 0.7674 GB, free: 224 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.214e-05/1.725, allocations: 24.14 kB / 0.7674 GB, free: 224 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02858/1.753, allocations: 17.4 MB / 0.7844 GB, free: 217 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/1.753, allocations: 7.812 kB / 0.7844 GB, free: 217 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002998/1.756, allocations: 0.8155 MB / 0.7852 GB, free: 216.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003136/1.759, allocations: 1.287 MB / 0.7864 GB, free: 216.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004508/1.76, allocations: 113.9 kB / 0.7865 GB, free: 216.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/1.773, allocations: 11.56 MB / 0.7978 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.773, allocations: 16.28 kB / 0.7978 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.791, allocations: 11.22 MB / 0.8088 GB, free: 200.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003172/1.794, allocations: 1.12 MB / 0.8099 GB, free: 199.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/1.795, allocations: 86.06 kB / 0.81 GB, free: 199.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/1.799, allocations: 239 kB / 0.8102 GB, free: 198.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008576/1.799, allocations: 326.2 kB / 0.8105 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004473/1.8, allocations: 143.9 kB / 0.8106 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00536/1.805, allocations: 3.115 MB / 0.8137 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/1.805, allocations: 0 / 0.8137 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007278/1.813, allocations: 1.731 MB / 0.8154 GB, free: 193.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.00212/1.815, allocations: 0.5343 MB / 0.8159 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01266/1.827, allocations: 7.679 MB / 0.8234 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.827, allocations: 0 / 0.8234 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006345/1.834, allocations: 3.697 MB / 0.827 GB, free: 182 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00694/1.841, allocations: 1.043 MB / 0.828 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/1.874, allocations: 18.11 MB / 0.8457 GB, free: 162.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007962/1.882, allocations: 6.329 MB / 0.8519 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/1.884, allocations: 455.3 kB / 0.8523 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.233e-06/1.884, allocations: 0 / 0.8523 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.4444/2.328, allocations: 230.5 MB / 1.077 GB, free: 148.4 MB / 0.5919 GB " [Timeout remaining time 658] 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_2/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_2/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: 20.33663002587855]