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.001802/0.001802, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002113/0.002113, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.00154/0.00154, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1992, allocations: 53.36 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01608/0.2153, allocations: 12.51 MB / 444.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009048/0.2243, allocations: 5.083 MB / 450 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009522/0.2253, allocations: 103.4 kB / 450.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.2276, allocations: 1.044 MB / 451.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.2307, allocations: 1.483 MB / 452.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.2328, allocations: 1.007 MB / 453.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004622/0.2375, allocations: 4.379 MB / 458 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.24, allocations: 1.857 MB / 459.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.2423, allocations: 2.087 MB / 461.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/0.2454, allocations: 2.437 MB / 464.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006872/0.246, allocations: 0.5352 MB / 464.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.2476, allocations: 0.9213 MB / 465.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.2489, allocations: 1.375 MB / 467.2 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.2508, allocations: 1.859 MB / 469 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007461/0.2583, allocations: 7.439 MB / 476.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2583, allocations: 0 / 476.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2583, allocations: 0 / 476.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.502e-05/0.2584, allocations: 0 / 476.5 MB, free: 10.41 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.01153/0.2699, allocations: 5.06 MB / 481.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.27, allocations: 12.03 kB / 481.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004862/0.2748, allocations: 0.9077 MB / 482.5 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005375/0.2802, allocations: 2.749 MB / 485.2 MB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.2804, allocations: 254.7 kB / 485.5 MB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005602/0.281, allocations: 339.9 kB / 485.8 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008117/0.2891, allocations: 4.706 MB / 490.5 MB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-05/0.2892, allocations: 3.953 kB / 490.5 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003452/0.2895, allocations: 136 kB / 490.6 MB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.2897, allocations: 154.7 kB / 490.8 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007111/0.2968, allocations: 3.915 MB / 494.7 MB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/0.3176, allocations: 12.12 MB / 0.4949 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006549/0.3241, allocations: 2.964 MB / 0.4978 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003008/0.3271, allocations: 1.564 MB / 0.4994 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007264/0.3344, allocations: 3.598 MB / 0.5029 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.3344, allocations: 51.86 kB / 0.5029 GB, free: 3.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 3.777e-06/0.3344, allocations: 7.938 kB / 0.5029 GB, free: 3.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01709/0.3515, allocations: 7.425 MB / 0.5102 GB, free: 12.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.3516, allocations: 73.41 kB / 0.5103 GB, free: 11.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.3549, allocations: 2.46 MB / 0.5127 GB, free: 9.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.3551, allocations: 57.7 kB / 0.5127 GB, free: 9.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.3564, allocations: 1.684 MB / 0.5144 GB, free: 7.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005709/0.357, allocations: 0.6506 MB / 0.515 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006025/0.3576, allocations: 339.5 kB / 0.5153 GB, free: 6.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3577, allocations: 309 kB / 0.5156 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.3595, allocations: 0.9097 MB / 0.5165 GB, free: 5.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.3616, allocations: 1.331 MB / 0.5178 GB, free: 3.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.3655, allocations: 2.359 MB / 0.5201 GB, free: 1.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.3656, allocations: 0 / 0.5201 GB, free: 1.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005848/0.3714, allocations: 3.055 MB / 0.5231 GB, free: 14.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3714, allocations: 8 kB / 0.5231 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/0.3714, allocations: 12 kB / 0.5231 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.373, allocations: 0.5439 MB / 0.5236 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.375, allocations: 435.3 kB / 0.5241 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.3852, allocations: 7.223 MB / 0.5311 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3864, allocations: 99.89 kB / 0.5312 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.3866, allocations: 75.98 kB / 0.5313 GB, free: 5.805 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.001797/0.3884, allocations: 1.165 MB / 0.5324 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/0.3888, allocations: 254.3 kB / 0.5327 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005772/0.3946, allocations: 2.857 MB / 0.5354 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-05/0.3946, allocations: 20 kB / 0.5355 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.3946, allocations: 8 kB / 0.5355 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.3947, allocations: 11.95 kB / 0.5355 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1805/0.5752, allocations: 5.479 MB / 0.5408 GB, free: 98.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.5752, allocations: 0 / 0.5408 GB, free: 98.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.5767, allocations: 286 kB / 0.5411 GB, free: 98.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.5783, allocations: 0.612 MB / 0.5417 GB, free: 98.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.5784, allocations: 55.39 kB / 0.5418 GB, free: 98.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008991/0.5874, allocations: 10.79 MB / 0.5523 GB, free: 90.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5874, allocations: 6.5 kB / 0.5523 GB, free: 90.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005766/0.5932, allocations: 4.132 MB / 0.5563 GB, free: 88.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009193/0.5941, allocations: 475.8 kB / 0.5568 GB, free: 88.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.5944, allocations: 39.88 kB / 0.5568 GB, free: 88.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.5955, allocations: 82.38 kB / 0.5569 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.5958, allocations: 150.5 kB / 0.557 GB, free: 88.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.5959, allocations: 59.88 kB / 0.5571 GB, free: 88.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001742/0.5976, allocations: 1.708 MB / 0.5588 GB, free: 87.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5976, allocations: 3.938 kB / 0.5588 GB, free: 87.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001832/0.5994, allocations: 0.6906 MB / 0.5594 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.001549/0.601, allocations: 480.8 kB / 0.5599 GB, free: 86.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003891/0.6049, allocations: 2.723 MB / 0.5626 GB, free: 84.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.6049, allocations: 4 kB / 0.5626 GB, free: 84.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.6072, allocations: 1.844 MB / 0.5644 GB, free: 82.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.6091, allocations: 0.4945 MB / 0.5649 GB, free: 81.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008394/0.6175, allocations: 7.159 MB / 0.5718 GB, free: 74.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.6191, allocations: 2.083 MB / 0.5739 GB, free: 72.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0012/0.6203, allocations: 491.1 kB / 0.5743 GB, free: 72.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/0.6207, allocations: 163.4 kB / 0.5745 GB, free: 72.11 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6207, allocations: 0 / 0.5745 GB, free: 72.11 MB / 446.1 MB Notification: Performance of Templates: time 0.05042/0.6711, allocations: 40.57 MB / 0.6141 GB, free: 32 MB / 446.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 -s gbode -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: 11.729560783991474]