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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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=200000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 107.8 kB / 17.16 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 194 kB / 18.08 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 223.9 MB, free: 12.52 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 51.92 kB / 280 MB, free: 3.559 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1206, allocations: 46.63 MB / 326.6 MB, free: 4.863 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02531/0.1459, allocations: 24.53 MB / 351.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.1652, allocations: 7.659 MB / 358.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006935/0.1722, allocations: 147.5 kB / 359 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0193/0.1915, allocations: 7.908 MB / 366.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.2036, allocations: 2.789 MB / 369.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006418/0.21, allocations: 1.68 MB / 371.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2603/0.4704, allocations: 11.13 MB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03621/0.5066, allocations: 19.66 MB / 402.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.517, allocations: 5.14 MB / 407.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.5281, allocations: 6.288 MB / 413.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004597/0.5327, allocations: 1.114 MB / 414.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006764/0.5395, allocations: 1.501 MB / 416.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007268/0.5468, allocations: 3.197 MB / 419.4 MB, free: 0 / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01307/0.5599, allocations: 5.85 MB / 425.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02601/0.5859, allocations: 22.62 MB / 447.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.586, allocations: 4 kB / 447.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.586, allocations: 0 / 447.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007548/0.5867, allocations: 0 / 447.8 MB, free: 5.25 MB / 350.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.04679/0.6335, allocations: 13.62 MB / 461.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.6336, allocations: 8.031 kB / 461.5 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04006/0.6737, allocations: 7.206 MB / 468.7 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01748/0.6912, allocations: 6.49 MB / 475.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009659/0.6922, allocations: 0.7323 MB / 475.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005195/0.6974, allocations: 0.9609 MB / 476.9 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05254/0.75, allocations: 16.61 MB / 493.5 MB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000543/0.7505, allocations: 15.89 kB / 493.5 MB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00448/0.755, allocations: 408.8 kB / 493.9 MB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007989/0.7559, allocations: 0.5831 MB / 494.5 MB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03764/0.7935, allocations: 15.8 MB / 0.4983 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5111/1.305, allocations: 53.88 MB / 0.5509 GB, free: 119.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/1.324, allocations: 22.74 MB / 0.5731 GB, free: 103.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005689/1.33, allocations: 3.821 MB / 0.5769 GB, free: 103.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01722/1.347, allocations: 11.79 MB / 0.5884 GB, free: 98.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/1.347, allocations: 76.77 kB / 0.5885 GB, free: 98.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=363): time 4.619e-06/1.347, allocations: 3.938 kB / 0.5885 GB, free: 98.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=368): time 0.03425/1.381, allocations: 17.5 MB / 0.6055 GB, free: 89.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/1.382, allocations: 85.77 kB / 0.6056 GB, free: 89.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006684/1.388, allocations: 4.761 MB / 0.6103 GB, free: 87.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004446/1.389, allocations: 83.36 kB / 0.6104 GB, free: 86.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.391, allocations: 4.479 MB / 0.6147 GB, free: 83.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.392, allocations: 1.268 MB / 0.616 GB, free: 81.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001617/1.394, allocations: 1.189 MB / 0.6171 GB, free: 81.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/1.394, allocations: 301.1 kB / 0.6174 GB, free: 81.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/1.397, allocations: 2.938 MB / 0.6203 GB, free: 79.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/1.402, allocations: 5.294 MB / 0.6255 GB, free: 73.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008565/1.411, allocations: 8.707 MB / 0.634 GB, free: 63.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-05/1.411, allocations: 28 kB / 0.634 GB, free: 63.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01413/1.425, allocations: 9.655 MB / 0.6434 GB, free: 54.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/1.425, allocations: 40 kB / 0.6435 GB, free: 54.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.425, allocations: 79.98 kB / 0.6435 GB, free: 53.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003324/1.428, allocations: 1.407 MB / 0.6449 GB, free: 52.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004471/1.433, allocations: 1.33 MB / 0.6462 GB, free: 51.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.446, allocations: 11.67 MB / 0.6576 GB, free: 39.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005272/1.452, allocations: 371.4 kB / 0.658 GB, free: 38.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007902/1.452, allocations: 300 kB / 0.6582 GB, free: 38.64 MB / 446.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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.008217/1.461, allocations: 3.919 MB / 0.6621 GB, free: 34.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/1.462, allocations: 454.4 kB / 0.6625 GB, free: 34.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.474, allocations: 6.816 MB / 0.6692 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009105/1.483, allocations: 5.628 MB / 0.6747 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/1.484, allocations: 19.78 kB / 0.6747 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/1.484, allocations: 19.92 kB / 0.6747 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03617/1.52, allocations: 15.52 MB / 0.6898 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-05/1.52, allocations: 4 kB / 0.6898 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003385/1.523, allocations: 0.6676 MB / 0.6905 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/1.527, allocations: 1.266 MB / 0.6917 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007679/1.528, allocations: 87.98 kB / 0.6918 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.543, allocations: 10.58 MB / 0.7022 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/1.543, allocations: 8 kB / 0.7022 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.244/1.787, allocations: 10.09 MB / 0.712 GB, free: 144.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003401/1.79, allocations: 1.021 MB / 0.713 GB, free: 144.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007724/1.791, allocations: 73.09 kB / 0.7131 GB, free: 144.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/1.793, allocations: 224.6 kB / 0.7133 GB, free: 144.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007895/1.794, allocations: 277.7 kB / 0.7136 GB, free: 144.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002579/1.794, allocations: 120.3 kB / 0.7137 GB, free: 144.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005275/1.8, allocations: 3.227 MB / 0.7168 GB, free: 144 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.8, allocations: 0 / 0.7168 GB, free: 144 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009409/1.809, allocations: 1.689 MB / 0.7185 GB, free: 144 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001913/1.811, allocations: 0.5045 MB / 0.719 GB, free: 143.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0132/1.824, allocations: 7.576 MB / 0.7264 GB, free: 141.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.824, allocations: 3.938 kB / 0.7264 GB, free: 141.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006099/1.83, allocations: 3.609 MB / 0.7299 GB, free: 139.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/1.836, allocations: 0.9797 MB / 0.7309 GB, free: 139.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03345/1.869, allocations: 22.17 MB / 0.7525 GB, free: 127.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00649/1.876, allocations: 6.56 MB / 0.7589 GB, free: 124.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005891/1.882, allocations: 2.105 MB / 0.761 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.883, allocations: 353.3 kB / 0.7613 GB, free: 124.4 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/1.883, allocations: 4 kB / 0.7613 GB, free: 124.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1163/1.999, allocations: 69.27 MB / 0.829 GB, free: 58.04 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches