Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001937/0.001937, allocations: 111.6 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002294/0.002294, allocations: 219.4 kB / 24.48 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 63.91 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2642, allocations: 53.41 MB / 432.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01949/0.2837, allocations: 12.5 MB / 444.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.2986, allocations: 5.09 MB / 450 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/0.3017, allocations: 103.4 kB / 450.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004269/0.3059, allocations: 1.048 MB / 451.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006253/0.3122, allocations: 1.464 MB / 452.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.3158, allocations: 1 MB / 453.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008352/0.3241, allocations: 4.382 MB / 458 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003121/0.3273, allocations: 1.775 MB / 459.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003918/0.3312, allocations: 2.08 MB / 461.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004366/0.3355, allocations: 2.312 MB / 464.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.3371, allocations: 0.5312 MB / 464.7 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.3397, allocations: 0.9018 MB / 465.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.3414, allocations: 1.375 MB / 467 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003631/0.345, allocations: 1.859 MB / 468.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.3552, allocations: 7.443 MB / 476.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3552, allocations: 0 / 476.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3552, allocations: 0 / 476.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001875/0.3554, allocations: 0 / 476.3 MB, free: 10.59 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.01459/0.37, allocations: 5.056 MB / 481.4 MB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.37, allocations: 11.98 kB / 481.4 MB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005606/0.3756, allocations: 0.9155 MB / 482.3 MB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006837/0.3824, allocations: 2.757 MB / 485 MB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/0.3827, allocations: 247.1 kB / 485.3 MB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.3838, allocations: 335.9 kB / 485.6 MB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.3947, allocations: 4.706 MB / 490.3 MB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.3948, allocations: 7.953 kB / 490.3 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006665/0.3955, allocations: 136 kB / 490.5 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/0.3957, allocations: 154.7 kB / 490.6 MB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008682/0.4044, allocations: 3.915 MB / 494.5 MB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/0.4293, allocations: 12.12 MB / 0.4948 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006759/0.4361, allocations: 2.964 MB / 0.4977 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/0.4393, allocations: 1.571 MB / 0.4992 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008185/0.4475, allocations: 3.598 MB / 0.5027 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.4475, allocations: 51.88 kB / 0.5028 GB, free: 3.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.639e-06/0.4475, allocations: 3.938 kB / 0.5028 GB, free: 3.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01844/0.466, allocations: 7.424 MB / 0.51 GB, free: 12.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.466, allocations: 73.41 kB / 0.5101 GB, free: 12.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004435/0.4705, allocations: 2.464 MB / 0.5125 GB, free: 9.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002426/0.4707, allocations: 53.7 kB / 0.5125 GB, free: 9.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.4722, allocations: 1.681 MB / 0.5142 GB, free: 7.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/0.473, allocations: 0.6545 MB / 0.5148 GB, free: 7.184 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007055/0.4737, allocations: 339.4 kB / 0.5151 GB, free: 6.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4738, allocations: 317 kB / 0.5154 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.4757, allocations: 0.9096 MB / 0.5163 GB, free: 5.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.4779, allocations: 1.327 MB / 0.5176 GB, free: 4.141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004121/0.482, allocations: 2.355 MB / 0.5199 GB, free: 1.641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.482, allocations: 4 kB / 0.5199 GB, free: 1.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00643/0.4884, allocations: 3.051 MB / 0.5229 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.4885, allocations: 16.03 kB / 0.5229 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.4885, allocations: 8 kB / 0.5229 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.4902, allocations: 0.5477 MB / 0.5235 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.492, allocations: 439.3 kB / 0.5239 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.5028, allocations: 7.215 MB / 0.5309 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.5046, allocations: 91.95 kB / 0.531 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/0.5049, allocations: 71.98 kB / 0.5311 GB, free: 5.984 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.002357/0.5072, allocations: 1.169 MB / 0.5322 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/0.5079, allocations: 250.4 kB / 0.5325 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006166/0.5141, allocations: 2.861 MB / 0.5353 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/0.5141, allocations: 20 kB / 0.5353 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/0.5141, allocations: 11.94 kB / 0.5353 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/0.5142, allocations: 7.969 kB / 0.5353 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2246/0.7388, allocations: 5.489 MB / 0.5407 GB, free: 99.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.7388, allocations: 1.812 kB / 0.5407 GB, free: 99.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.74, allocations: 277.7 kB / 0.5409 GB, free: 99.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.7416, allocations: 0.6161 MB / 0.5415 GB, free: 98.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.7418, allocations: 44.61 kB / 0.5416 GB, free: 98.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009236/0.751, allocations: 10.79 MB / 0.5521 GB, free: 90.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.751, allocations: 5.016 kB / 0.5521 GB, free: 90.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006264/0.7573, allocations: 4.135 MB / 0.5562 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.7585, allocations: 468.7 kB / 0.5566 GB, free: 88.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/0.7589, allocations: 43.34 kB / 0.5566 GB, free: 88.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.7599, allocations: 81.33 kB / 0.5567 GB, free: 88.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/0.7602, allocations: 147 kB / 0.5569 GB, free: 88.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.7603, allocations: 60.8 kB / 0.5569 GB, free: 88.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00196/0.7623, allocations: 1.708 MB / 0.5586 GB, free: 87.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7623, allocations: 3.938 kB / 0.5586 GB, free: 87.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002054/0.7644, allocations: 0.691 MB / 0.5593 GB, free: 86.69 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.001574/0.7659, allocations: 464.7 kB / 0.5597 GB, free: 86.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004327/0.7703, allocations: 2.733 MB / 0.5624 GB, free: 84.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.7703, allocations: 0 / 0.5624 GB, free: 84.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.7728, allocations: 1.836 MB / 0.5642 GB, free: 82.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/0.7757, allocations: 0.4966 MB / 0.5647 GB, free: 81.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.7868, allocations: 7.179 MB / 0.5717 GB, free: 74.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/0.7888, allocations: 2.034 MB / 0.5737 GB, free: 72.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/0.7895, allocations: 183.4 kB / 0.5738 GB, free: 72.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7895, allocations: 0 / 0.5738 GB, free: 72.67 MB / 446.1 MB Notification: Performance of Templates: time 0.09357/0.8831, allocations: 101.7 MB / 0.6731 GB, free: 3.055 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.971809463109821]