Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001558/0.001558, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 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.001734/0.001734, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.92 kB / 379.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2328, allocations: 53.37 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01669/0.2495, allocations: 14.39 MB / 446.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.2597, allocations: 5.403 MB / 452.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00289/0.2626, allocations: 103.4 kB / 452.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.2658, allocations: 1.099 MB / 453.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.2703, allocations: 1.496 MB / 454.9 MB, free: 344 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.2733, allocations: 1.045 MB / 456 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006063/0.2793, allocations: 4.367 MB / 460.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003466/0.2828, allocations: 1.861 MB / 462.2 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.2861, allocations: 2.083 MB / 464.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004143/0.2903, allocations: 2.429 MB / 466.7 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.2916, allocations: 0.5391 MB / 467.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.2941, allocations: 0.9837 MB / 468.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.2959, allocations: 1.394 MB / 469.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003719/0.2997, allocations: 2.361 MB / 472 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009953/0.3096, allocations: 7.416 MB / 479.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3096, allocations: 0 / 479.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3096, allocations: 0 / 479.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002356/0.3099, allocations: 0 / 479.4 MB, free: 7.715 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01425/0.3241, allocations: 5.064 MB / 484.5 MB, free: 2.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3241, allocations: 15.97 kB / 484.5 MB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/0.3292, allocations: 0.9116 MB / 485.4 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006439/0.3356, allocations: 2.776 MB / 488.2 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/0.3359, allocations: 250.7 kB / 488.4 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009859/0.3369, allocations: 339.9 kB / 488.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.3471, allocations: 4.551 MB / 493.3 MB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.3472, allocations: 7.953 kB / 493.3 MB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005951/0.3478, allocations: 136 kB / 493.5 MB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/0.3479, allocations: 154.7 kB / 493.6 MB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008248/0.3562, allocations: 3.918 MB / 497.5 MB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.3822, allocations: 13.86 MB / 0.4994 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006538/0.3887, allocations: 2.994 MB / 0.5023 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003109/0.3918, allocations: 1.575 MB / 0.5039 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008301/0.4001, allocations: 4.032 MB / 0.5078 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.4002, allocations: 47.88 kB / 0.5078 GB, free: 14.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 4.499e-06/0.4002, allocations: 0 / 0.5078 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.0179/0.4181, allocations: 7.433 MB / 0.5151 GB, free: 7.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.4181, allocations: 73.41 kB / 0.5152 GB, free: 7.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/0.4228, allocations: 2.665 MB / 0.5178 GB, free: 4.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.423, allocations: 61.7 kB / 0.5178 GB, free: 4.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.4245, allocations: 1.67 MB / 0.5195 GB, free: 2.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006863/0.4252, allocations: 0.6584 MB / 0.5201 GB, free: 2.047 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006372/0.4258, allocations: 331.5 kB / 0.5204 GB, free: 1.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4259, allocations: 305.1 kB / 0.5207 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.4276, allocations: 0.9136 MB / 0.5216 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.4296, allocations: 1.306 MB / 0.5229 GB, free: 15.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003856/0.4335, allocations: 2.359 MB / 0.5252 GB, free: 12.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.4335, allocations: 4 kB / 0.5252 GB, free: 12.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006067/0.4396, allocations: 3.066 MB / 0.5282 GB, free: 9.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.4396, allocations: 12 kB / 0.5282 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.4396, allocations: 12 kB / 0.5282 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.4412, allocations: 0.544 MB / 0.5287 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.4431, allocations: 439.3 kB / 0.5292 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.4534, allocations: 7.409 MB / 0.5364 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.4553, allocations: 83.94 kB / 0.5365 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.4556, allocations: 75.98 kB / 0.5365 GB, free: 0.6602 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2122/0.6678, allocations: 1.169 MB / 0.5377 GB, free: 97.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007336/0.6686, allocations: 267 kB / 0.5379 GB, free: 97.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005482/0.674, allocations: 2.861 MB / 0.5407 GB, free: 97.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-05/0.6741, allocations: 20.91 kB / 0.5407 GB, free: 97.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/0.6741, allocations: 12.72 kB / 0.5408 GB, free: 97.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.6741, allocations: 9.141 kB / 0.5408 GB, free: 97.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009626/0.6837, allocations: 6.319 MB / 0.5469 GB, free: 94.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.6837, allocations: 0 / 0.5469 GB, free: 94.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.6849, allocations: 279.5 kB / 0.5472 GB, free: 94.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.6863, allocations: 0.6168 MB / 0.5478 GB, free: 94.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.6865, allocations: 49.52 kB / 0.5479 GB, free: 94.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008853/0.6953, allocations: 11.02 MB / 0.5586 GB, free: 86.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6953, allocations: 3.938 kB / 0.5586 GB, free: 86.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006148/0.7015, allocations: 4.157 MB / 0.5627 GB, free: 84.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.7027, allocations: 499.1 kB / 0.5632 GB, free: 84.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004349/0.7031, allocations: 32.25 kB / 0.5632 GB, free: 84.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.7042, allocations: 90.25 kB / 0.5633 GB, free: 83.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/0.7045, allocations: 156.7 kB / 0.5634 GB, free: 83.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.7046, allocations: 51.98 kB / 0.5635 GB, free: 83.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002098/0.7067, allocations: 1.863 MB / 0.5653 GB, free: 81.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7067, allocations: 3.594 kB / 0.5653 GB, free: 81.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002056/0.7088, allocations: 0.696 MB / 0.566 GB, free: 81.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001466/0.7102, allocations: 449.9 kB / 0.5664 GB, free: 80.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00401/0.7142, allocations: 2.735 MB / 0.5691 GB, free: 78.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.7142, allocations: 4.062 kB / 0.5691 GB, free: 78.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.7165, allocations: 1.845 MB / 0.5709 GB, free: 76.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.7191, allocations: 0.5988 MB / 0.5715 GB, free: 75.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.7295, allocations: 7.216 MB / 0.5785 GB, free: 68.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/0.7317, allocations: 2.583 MB / 0.581 GB, free: 65.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007377/0.7324, allocations: 191.4 kB / 0.5812 GB, free: 65.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7324, allocations: 0 / 0.5812 GB, free: 65.67 MB / 446.1 MB Notification: Performance of Templates: time 0.09628/0.8287, allocations: 102 MB / 0.6809 GB, free: 11.72 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.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: 15.36956886202097]