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.0009265/0.0009263, allocations: 95.88 kB / 16.96 MB, free: 6.055 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.001099/0.001099, allocations: 178.4 kB / 17.84 MB, free: 5.688 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.752/1.752, allocations: 205.4 MB / 224 MB, free: 13.07 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.00046/0.0004602, allocations: 12 kB / 280.8 MB, free: 3.691 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1144, allocations: 47.58 MB / 328.4 MB, free: 4.043 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02352/0.1379, allocations: 21.73 MB / 350.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.1563, allocations: 7.1 MB / 357.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006008/0.1623, allocations: 147.5 kB / 357.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006339/0.1687, allocations: 1.332 MB / 358.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.18, allocations: 2.508 MB / 361.2 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006537/0.1865, allocations: 1.212 MB / 362.4 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02134/0.2079, allocations: 13.66 MB / 376.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2784/0.4864, allocations: 19.35 MB / 395.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007075/0.4935, allocations: 4.417 MB / 399.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008519/0.502, allocations: 4.881 MB / 404.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002741/0.5048, allocations: 0.6655 MB / 405.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005227/0.51, allocations: 1.042 MB / 406.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003128/0.5132, allocations: 2.111 MB / 408.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004128/0.5173, allocations: 2.155 MB / 410.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0195/0.5368, allocations: 19.6 MB / 430.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.5369, allocations: 4 kB / 430.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.5369, allocations: 0 / 430.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007736/0.5377, allocations: 0 / 430.3 MB, free: 14.47 MB / 334.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.03419/0.5719, allocations: 11.46 MB / 441.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5719, allocations: 8.031 kB / 441.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03936/0.6113, allocations: 7.229 MB / 449 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.626, allocations: 6.411 MB / 455.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008629/0.6269, allocations: 0.7384 MB / 456.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004404/0.6313, allocations: 0.959 MB / 457.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04225/0.6736, allocations: 16.54 MB / 473.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000313/0.674, allocations: 19.8 kB / 473.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002988/0.6769, allocations: 406.4 kB / 474.1 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006082/0.6776, allocations: 0.587 MB / 474.6 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03527/0.7128, allocations: 15.72 MB / 490.4 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5502/1.263, allocations: 54 MB / 0.5316 GB, free: 110.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.285, allocations: 22.71 MB / 0.5538 GB, free: 94.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006687/1.292, allocations: 3.83 MB / 0.5575 GB, free: 94.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/1.309, allocations: 11.79 MB / 0.569 GB, free: 91.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/1.309, allocations: 71.73 kB / 0.5691 GB, free: 91.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=363): time 5.42e-06/1.309, allocations: 0 / 0.5691 GB, free: 91.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=368): time 0.04331/1.353, allocations: 19.96 MB / 0.5886 GB, free: 84.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/1.353, allocations: 88.42 kB / 0.5887 GB, free: 84.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006428/1.359, allocations: 4.735 MB / 0.5933 GB, free: 81.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006714/1.36, allocations: 84.73 kB / 0.5934 GB, free: 81.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002207/1.362, allocations: 4.47 MB / 0.5978 GB, free: 77.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001443/1.364, allocations: 1.273 MB / 0.599 GB, free: 76.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/1.364, allocations: 122.1 kB / 0.5991 GB, free: 76.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002883/1.364, allocations: 0.5508 MB / 0.5997 GB, free: 76.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003792/1.368, allocations: 2.912 MB / 0.6025 GB, free: 74.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005038/1.373, allocations: 5.279 MB / 0.6077 GB, free: 69.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005506/1.379, allocations: 4.108 MB / 0.6117 GB, free: 66.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.701e-05/1.379, allocations: 24 kB / 0.6117 GB, free: 66.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01679/1.395, allocations: 9.631 MB / 0.6211 GB, free: 56.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.446e-05/1.396, allocations: 40 kB / 0.6211 GB, free: 56.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.783e-05/1.396, allocations: 76 kB / 0.6212 GB, free: 56.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/1.399, allocations: 1.408 MB / 0.6226 GB, free: 55.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005459/1.404, allocations: 1.334 MB / 0.6239 GB, free: 53.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/1.419, allocations: 11.66 MB / 0.6353 GB, free: 41.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.425, allocations: 367.5 kB / 0.6356 GB, free: 41.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.426, allocations: 304 kB / 0.6359 GB, free: 41.23 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008426/1.434, allocations: 3.915 MB / 0.6397 GB, free: 37.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.436, allocations: 454.4 kB / 0.6402 GB, free: 36.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/1.448, allocations: 6.812 MB / 0.6468 GB, free: 29.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007468/1.456, allocations: 5.627 MB / 0.6523 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.456, allocations: 12 kB / 0.6523 GB, free: 24.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.311e-05/1.456, allocations: 19.92 kB / 0.6523 GB, free: 24.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02498/1.481, allocations: 15.5 MB / 0.6675 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.481, allocations: 4 kB / 0.6675 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002544/1.483, allocations: 0.6753 MB / 0.6681 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/1.486, allocations: 1.261 MB / 0.6694 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004109/1.487, allocations: 91.97 kB / 0.6695 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/1.499, allocations: 10.56 MB / 0.6798 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.499, allocations: 13.36 kB / 0.6798 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.517, allocations: 10.09 MB / 0.6896 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004004/1.521, allocations: 1.038 MB / 0.6907 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001735/1.523, allocations: 75.98 kB / 0.6907 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003251/1.526, allocations: 223.8 kB / 0.6909 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009672/1.527, allocations: 279.1 kB / 0.6912 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005672/1.527, allocations: 116 kB / 0.6913 GB, free: 15.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006561/1.534, allocations: 3.198 MB / 0.6944 GB, free: 12.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.8e-07/1.534, allocations: 0 / 0.6944 GB, free: 12.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008294/1.542, allocations: 1.693 MB / 0.6961 GB, free: 11.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00179/1.544, allocations: 0.5128 MB / 0.6966 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01413/1.558, allocations: 7.557 MB / 0.704 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.558, allocations: 0 / 0.704 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2289/1.787, allocations: 3.6 MB / 0.7075 GB, free: 146.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007216/1.795, allocations: 0.9838 MB / 0.7084 GB, free: 146.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04106/1.836, allocations: 21.31 MB / 0.7293 GB, free: 137.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009782/1.846, allocations: 6.56 MB / 0.7357 GB, free: 136.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006345/1.852, allocations: 2.093 MB / 0.7377 GB, free: 136.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/1.853, allocations: 358.5 kB / 0.7381 GB, free: 136.1 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/1.853, allocations: 0 / 0.7381 GB, free: 136.1 MB / 462.1 MB Notification: Performance of Templates: time 0.102/1.955, allocations: 66.75 MB / 0.8032 GB, free: 81.06 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