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.001374/0.001374, allocations: 96.19 kB / 16.93 MB, free: 5.984 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.001482/0.001482, allocations: 180.5 kB / 17.82 MB, free: 5.652 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.488/1.488, allocations: 205.4 MB / 224 MB, free: 13.17 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.0006685/0.0006686, allocations: 12 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1151, allocations: 47.58 MB / 328.4 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02119/0.1363, allocations: 20.04 MB / 348.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01701/0.1534, allocations: 7.282 MB / 355.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005537/0.1589, allocations: 143.6 kB / 355.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006793/0.1658, allocations: 1.497 MB / 357.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.1763, allocations: 2.571 MB / 359.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005252/0.1815, allocations: 1.22 MB / 361.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01758/0.1991, allocations: 10.19 MB / 371.3 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2337/0.4329, allocations: 19.15 MB / 390.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007679/0.4406, allocations: 4.026 MB / 394.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007884/0.4485, allocations: 4.382 MB / 398.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002697/0.4513, allocations: 0.6591 MB / 399.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.4557, allocations: 0.9797 MB / 400.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00289/0.4586, allocations: 2.081 MB / 402.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0034/0.462, allocations: 2.157 MB / 404.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01809/0.4801, allocations: 19.54 MB / 424.3 MB, free: 232 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4801, allocations: 0 / 424.3 MB, free: 232 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.4801, allocations: 0 / 424.3 MB, free: 232 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006648/0.4808, allocations: 0 / 424.3 MB, free: 232 kB / 318.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.03328/0.5141, allocations: 11.4 MB / 435.7 MB, free: 6.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5142, allocations: 8.031 kB / 435.7 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04019/0.5544, allocations: 7.158 MB / 442.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01495/0.5693, allocations: 6.407 MB / 449.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007157/0.5701, allocations: 0.7305 MB / 450 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004594/0.5747, allocations: 0.9624 MB / 450.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04783/0.6226, allocations: 16.45 MB / 467.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000402/0.623, allocations: 11.91 kB / 467.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004014/0.627, allocations: 406.9 kB / 467.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000735/0.6278, allocations: 0.5947 MB / 468.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03542/0.6632, allocations: 15.71 MB / 484.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1057/0.769, allocations: 53.94 MB / 0.5254 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3585/1.128, allocations: 22.66 MB / 0.5476 GB, free: 104.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02698/1.155, allocations: 11.83 MB / 0.5591 GB, free: 101 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/1.155, allocations: 69.78 kB / 0.5592 GB, free: 100.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=365): time 4.999e-06/1.155, allocations: 0 / 0.5592 GB, free: 100.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=370): time 0.03935/1.194, allocations: 18.56 MB / 0.5773 GB, free: 93.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/1.194, allocations: 89.38 kB / 0.5774 GB, free: 93.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006787/1.201, allocations: 4.692 MB / 0.582 GB, free: 91.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008345/1.202, allocations: 85.42 kB / 0.582 GB, free: 91.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0023/1.204, allocations: 4.467 MB / 0.5864 GB, free: 88.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001422/1.206, allocations: 1.28 MB / 0.5877 GB, free: 87.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/1.206, allocations: 121.2 kB / 0.5878 GB, free: 87.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002757/1.206, allocations: 0.5487 MB / 0.5883 GB, free: 86.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003925/1.21, allocations: 2.914 MB / 0.5912 GB, free: 85.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005117/1.215, allocations: 5.247 MB / 0.5963 GB, free: 81.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005134/1.22, allocations: 4.108 MB / 0.6003 GB, free: 78.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-05/1.22, allocations: 24 kB / 0.6003 GB, free: 78.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01445/1.235, allocations: 9.615 MB / 0.6097 GB, free: 69.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/1.235, allocations: 41 kB / 0.6097 GB, free: 69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.235, allocations: 76 kB / 0.6098 GB, free: 68.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/1.238, allocations: 1.386 MB / 0.6112 GB, free: 67.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004745/1.243, allocations: 1.338 MB / 0.6125 GB, free: 66.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/1.257, allocations: 11.95 MB / 0.6241 GB, free: 53.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006216/1.263, allocations: 367.5 kB / 0.6245 GB, free: 53.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/1.265, allocations: 304 kB / 0.6248 GB, free: 53.33 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * 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.4%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009369/1.274, allocations: 3.917 MB / 0.6286 GB, free: 49.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/1.276, allocations: 454.3 kB / 0.629 GB, free: 48.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.287, allocations: 6.832 MB / 0.6357 GB, free: 42.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00779/1.295, allocations: 5.624 MB / 0.6412 GB, free: 36.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.889e-05/1.295, allocations: 12 kB / 0.6412 GB, free: 36.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-05/1.295, allocations: 19.92 kB / 0.6412 GB, free: 36.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02645/1.321, allocations: 15.47 MB / 0.6563 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/1.321, allocations: 4 kB / 0.6563 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/1.324, allocations: 0.667 MB / 0.657 GB, free: 20.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003104/1.328, allocations: 1.26 MB / 0.6582 GB, free: 18.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005734/1.328, allocations: 87.97 kB / 0.6583 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/1.341, allocations: 10.87 MB / 0.6689 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.341, allocations: 4 kB / 0.6689 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.357, allocations: 10.52 MB / 0.6792 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003066/1.36, allocations: 1.034 MB / 0.6802 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007479/1.36, allocations: 75.98 kB / 0.6803 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/1.363, allocations: 223.8 kB / 0.6805 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/1.364, allocations: 271.2 kB / 0.6808 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/1.364, allocations: 116 kB / 0.6809 GB, free: 11.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006041/1.37, allocations: 3.166 MB / 0.684 GB, free: 7.996 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.595e-06/1.37, allocations: 0 / 0.684 GB, free: 7.996 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009182/1.379, allocations: 1.693 MB / 0.6856 GB, free: 6.312 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002087/1.381, allocations: 0.5193 MB / 0.6861 GB, free: 5.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01522/1.396, allocations: 7.568 MB / 0.6935 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.397, allocations: 1.641 kB / 0.6935 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007555/1.404, allocations: 3.615 MB / 0.697 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00558/1.41, allocations: 0.9151 MB / 0.6979 GB, free: 9.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2438/1.653, allocations: 21.13 MB / 0.7186 GB, free: 145.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01434/1.668, allocations: 6.718 MB / 0.7251 GB, free: 144.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006776/1.675, allocations: 2.11 MB / 0.7272 GB, free: 144.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.676, allocations: 347.6 kB / 0.7275 GB, free: 144.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/1.676, allocations: 3.938 kB / 0.7275 GB, free: 144.8 MB / 462.1 MB Notification: Performance of Templates: time 0.1091/1.785, allocations: 65.97 MB / 0.7919 GB, free: 92.8 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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