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.001892/0.001892, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.002147/0.002147, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 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 1.643/1.643, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 63.86 kB / 347.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3967, allocations: 49.15 MB / 396.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02692/0.4236, allocations: 21.53 MB / 418.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02132/0.4449, allocations: 7.438 MB / 425.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00752/0.4524, allocations: 187.1 kB / 426.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02225/0.4747, allocations: 7.828 MB / 433.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0137/0.4884, allocations: 3.07 MB / 437 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006852/0.4952, allocations: 1.794 MB / 438.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01824/0.5135, allocations: 11.33 MB / 450.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03303/0.5465, allocations: 14.52 MB / 464.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01145/0.558, allocations: 6.145 MB / 470.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01231/0.5703, allocations: 6.326 MB / 477.1 MB, free: 2.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006275/0.5766, allocations: 1.723 MB / 478.8 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008205/0.5848, allocations: 2.117 MB / 480.9 MB, free: 14.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006556/0.5913, allocations: 3.472 MB / 484.4 MB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01248/0.6038, allocations: 4.969 MB / 489.3 MB, free: 6.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03432/0.6381, allocations: 23.29 MB / 0.5006 GB, free: 15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.6381, allocations: 0 / 0.5006 GB, free: 15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6381, allocations: 0 / 0.5006 GB, free: 15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00068/0.6388, allocations: 0 / 0.5006 GB, free: 15 MB / 430.1 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.04444/0.6832, allocations: 13.71 MB / 0.514 GB, free: 1.195 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.6833, allocations: 15.92 kB / 0.514 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04214/0.7254, allocations: 7.305 MB / 0.5212 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/0.7434, allocations: 6.587 MB / 0.5276 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/0.7444, allocations: 0.7266 MB / 0.5283 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005045/0.7494, allocations: 0.9569 MB / 0.5292 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05024/0.7996, allocations: 16.74 MB / 0.5456 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005426/0.8002, allocations: 11.91 kB / 0.5456 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003856/0.804, allocations: 404 kB / 0.546 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008139/0.8049, allocations: 0.5947 MB / 0.5466 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4454/1.25, allocations: 15.72 MB / 0.5619 GB, free: 127.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09628/1.346, allocations: 46.28 MB / 0.6071 GB, free: 100.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/1.362, allocations: 9.316 MB / 0.6162 GB, free: 96.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005358/1.367, allocations: 3.453 MB / 0.6196 GB, free: 94.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01826/1.386, allocations: 10.14 MB / 0.6295 GB, free: 84.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/1.386, allocations: 73.34 kB / 0.6295 GB, free: 84.15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 6.723e-06/1.386, allocations: 0 / 0.6295 GB, free: 84.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.03522/1.421, allocations: 17.17 MB / 0.6463 GB, free: 67.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/1.421, allocations: 94.19 kB / 0.6464 GB, free: 67.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006385/1.427, allocations: 4.686 MB / 0.651 GB, free: 62.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008424/1.428, allocations: 89.7 kB / 0.6511 GB, free: 62.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002306/1.431, allocations: 4.63 MB / 0.6556 GB, free: 57.92 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001693/1.432, allocations: 1.311 MB / 0.6569 GB, free: 56.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001863/1.434, allocations: 1.199 MB / 0.658 GB, free: 55.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.824e-05/1.434, allocations: 305.1 kB / 0.6583 GB, free: 55.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/1.438, allocations: 2.885 MB / 0.6612 GB, free: 52.22 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004491/1.442, allocations: 5.283 MB / 0.6663 GB, free: 45.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008387/1.451, allocations: 8.624 MB / 0.6747 GB, free: 36.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.479e-05/1.451, allocations: 20 kB / 0.6748 GB, free: 36.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01396/1.465, allocations: 9.555 MB / 0.6841 GB, free: 26.49 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/1.465, allocations: 40 kB / 0.6841 GB, free: 26.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/1.465, allocations: 76 kB / 0.6842 GB, free: 26.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/1.468, allocations: 1.41 MB / 0.6856 GB, free: 24.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004181/1.472, allocations: 1.33 MB / 0.6869 GB, free: 23.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/1.486, allocations: 12.06 MB / 0.6986 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005262/1.492, allocations: 367.6 kB / 0.699 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00076/1.492, allocations: 300 kB / 0.6993 GB, free: 10.73 MB / 478.1 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.006919/1.499, allocations: 3.923 MB / 0.7031 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.501, allocations: 457 kB / 0.7035 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.511, allocations: 6.681 MB / 0.7101 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009707/1.521, allocations: 5.517 MB / 0.7155 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.571e-05/1.521, allocations: 23.88 kB / 0.7155 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.46e-05/1.521, allocations: 19.92 kB / 0.7155 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/1.547, allocations: 13.01 MB / 0.7282 GB, free: 12.88 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.547, allocations: 4 kB / 0.7282 GB, free: 12.87 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/1.55, allocations: 0.6753 MB / 0.7289 GB, free: 12.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003707/1.554, allocations: 1.261 MB / 0.7301 GB, free: 10.93 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004752/1.554, allocations: 87.97 kB / 0.7302 GB, free: 10.84 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/1.571, allocations: 10.96 MB / 0.7409 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.571, allocations: 12.06 kB / 0.7409 GB, free: 15.66 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/1.589, allocations: 9.925 MB / 0.7506 GB, free: 5.602 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004876/1.594, allocations: 0.9615 MB / 0.7515 GB, free: 4.637 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001742/1.596, allocations: 72 kB / 0.7516 GB, free: 4.566 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003077/1.599, allocations: 219.8 kB / 0.7518 GB, free: 4.352 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009802/1.6, allocations: 290.9 kB / 0.7521 GB, free: 4.066 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000352/1.6, allocations: 119.9 kB / 0.7522 GB, free: 3.949 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007088/1.607, allocations: 3.068 MB / 0.7552 GB, free: 0.8711 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.41e-07/1.607, allocations: 0 / 0.7552 GB, free: 0.8711 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008703/1.616, allocations: 1.684 MB / 0.7568 GB, free: 15.18 MB / 0.5294 GB 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.002451/1.618, allocations: 0.5181 MB / 0.7574 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01599/1.634, allocations: 7.193 MB / 0.7644 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.634, allocations: 0 / 0.7644 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008223/1.642, allocations: 3.369 MB / 0.7677 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007652/1.65, allocations: 0.9259 MB / 0.7686 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2848/1.935, allocations: 18.13 MB / 0.7863 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009987/1.945, allocations: 6.117 MB / 0.7922 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005591/1.95, allocations: 2.104 MB / 0.7943 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.952, allocations: 347.4 kB / 0.7946 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/1.952, allocations: 1.094 kB / 0.7946 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.1099/2.061, allocations: 71.91 MB / 0.8649 GB, free: 113.9 MB / 0.5294 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.423676112666726]