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.001351/0.001351, allocations: 88.39 kB / 21.44 MB, free: 276 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.001422/0.001422, allocations: 164.2 kB / 24.71 MB, free: 3.543 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.416/1.416, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.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: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 299 MB, free: 8.656 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.337e-05, allocations: 6.281 kB / 299 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03171/0.03174, allocations: 21.53 MB / 320.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2698/0.3016, allocations: 7.435 MB / 328 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008003/0.3096, allocations: 183.7 kB / 328.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02314/0.3327, allocations: 8.273 MB / 336.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01386/0.3466, allocations: 3.133 MB / 339.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007629/0.3542, allocations: 1.802 MB / 341.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01855/0.3728, allocations: 11.69 MB / 353.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0264/0.3992, allocations: 14.55 MB / 367.6 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02478/0.4239, allocations: 8.985 MB / 376.6 MB, free: 404 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01405/0.438, allocations: 5.726 MB / 382.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005564/0.4436, allocations: 1.723 MB / 384.1 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009096/0.4527, allocations: 2.131 MB / 386.2 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007207/0.4599, allocations: 3.522 MB / 389.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01428/0.4741, allocations: 4.282 MB / 394 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03832/0.5125, allocations: 23.5 MB / 417.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5125, allocations: 0 / 417.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5125, allocations: 0 / 417.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006546/0.5131, allocations: 0 / 417.5 MB, free: 8.473 MB / 366.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.04607/0.5592, allocations: 13.62 MB / 431.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5592, allocations: 15.98 kB / 431.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04471/0.6039, allocations: 7.305 MB / 438.4 MB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01622/0.6202, allocations: 6.583 MB / 445 MB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009669/0.6211, allocations: 0.7305 MB / 445.7 MB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004725/0.6259, allocations: 0.9608 MB / 446.7 MB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04637/0.6722, allocations: 16.74 MB / 463.4 MB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003613/0.6726, allocations: 15.89 kB / 463.5 MB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003445/0.676, allocations: 404 kB / 463.9 MB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007231/0.6768, allocations: 0.5908 MB / 464.4 MB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04125/0.718, allocations: 15.72 MB / 480.2 MB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4713/1.189, allocations: 46.3 MB / 0.5141 GB, free: 102.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/1.204, allocations: 9.298 MB / 0.5232 GB, free: 98.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005137/1.209, allocations: 3.466 MB / 0.5266 GB, free: 96.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01614/1.225, allocations: 10.13 MB / 0.5365 GB, free: 88.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/1.225, allocations: 73.11 kB / 0.5366 GB, free: 88.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=357): time 7.024e-06/1.225, allocations: 0 / 0.5366 GB, free: 88.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=362): time 0.03567/1.261, allocations: 17.18 MB / 0.5533 GB, free: 71.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/1.261, allocations: 90.25 kB / 0.5534 GB, free: 71.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005755/1.267, allocations: 4.678 MB / 0.558 GB, free: 66.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005521/1.267, allocations: 93.7 kB / 0.5581 GB, free: 66.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002158/1.27, allocations: 4.621 MB / 0.5626 GB, free: 62.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.271, allocations: 1.296 MB / 0.5639 GB, free: 60.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/1.272, allocations: 1.176 MB / 0.565 GB, free: 59.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.24e-05/1.272, allocations: 305.1 kB / 0.5653 GB, free: 59.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/1.276, allocations: 2.889 MB / 0.5681 GB, free: 56.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004517/1.281, allocations: 5.291 MB / 0.5733 GB, free: 50.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00869/1.289, allocations: 8.632 MB / 0.5817 GB, free: 40.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.629e-05/1.289, allocations: 20 kB / 0.5817 GB, free: 40.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01502/1.304, allocations: 9.551 MB / 0.5911 GB, free: 30.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/1.304, allocations: 39.91 kB / 0.5911 GB, free: 30.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/1.304, allocations: 80 kB / 0.5912 GB, free: 30.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003394/1.308, allocations: 1.41 MB / 0.5925 GB, free: 29.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004738/1.313, allocations: 1.33 MB / 0.5938 GB, free: 27.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/1.327, allocations: 12.05 MB / 0.6056 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/1.332, allocations: 371.6 kB / 0.606 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.333, allocations: 300 kB / 0.6063 GB, free: 15.02 MB / 430.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.006061/1.339, allocations: 3.919 MB / 0.6101 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009816/1.34, allocations: 461 kB / 0.6105 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.35, allocations: 6.677 MB / 0.617 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008628/1.359, allocations: 5.515 MB / 0.6224 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.862e-05/1.359, allocations: 12 kB / 0.6224 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.284e-05/1.359, allocations: 23.86 kB / 0.6225 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0277/1.387, allocations: 13.03 MB / 0.6352 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.387, allocations: 12.06 kB / 0.6352 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/1.39, allocations: 0.6631 MB / 0.6358 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003694/1.394, allocations: 1.266 MB / 0.6371 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004974/1.394, allocations: 87.97 kB / 0.6372 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/1.411, allocations: 10.96 MB / 0.6479 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.411, allocations: 7.938 kB / 0.6479 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2138/1.625, allocations: 9.91 MB / 0.6575 GB, free: 146.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003342/1.628, allocations: 0.9615 MB / 0.6585 GB, free: 146.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.63, allocations: 74.31 kB / 0.6586 GB, free: 146.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003097/1.633, allocations: 217.9 kB / 0.6588 GB, free: 146.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009239/1.634, allocations: 284.3 kB / 0.659 GB, free: 146.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003238/1.634, allocations: 120.3 kB / 0.6592 GB, free: 146.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006718/1.641, allocations: 3.067 MB / 0.6621 GB, free: 145.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.641, allocations: 1.125 kB / 0.6621 GB, free: 145.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01176/1.653, allocations: 1.677 MB / 0.6638 GB, free: 145.1 MB / 462.1 MB 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.002969/1.656, allocations: 0.5222 MB / 0.6643 GB, free: 144.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01675/1.672, allocations: 7.198 MB / 0.6713 GB, free: 141.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/1.672, allocations: 1.094 kB / 0.6713 GB, free: 141.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008735/1.681, allocations: 3.36 MB / 0.6746 GB, free: 140.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008319/1.689, allocations: 0.9272 MB / 0.6755 GB, free: 140.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03418/1.724, allocations: 18.02 MB / 0.6931 GB, free: 128.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008265/1.732, allocations: 6.118 MB / 0.6991 GB, free: 123.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005448/1.737, allocations: 2.098 MB / 0.7011 GB, free: 121.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.738, allocations: 352.4 kB / 0.7015 GB, free: 121.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.413e-06/1.738, allocations: 0 / 0.7015 GB, free: 121.2 MB / 462.1 MB Notification: Performance of Templates: time 0.1063/1.845, allocations: 61.74 MB / 0.7618 GB, free: 59.41 MB / 462.1 MB " [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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.02680791169405]