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.001375/0.001375, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00149/0.00149, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.647/1.647, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001817/0.001817, allocations: 55.86 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3809, allocations: 53.36 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01837/0.3993, allocations: 12.5 MB / 444.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.4116, allocations: 5.094 MB / 450 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.4151, allocations: 103.4 kB / 450.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00405/0.4192, allocations: 1.048 MB / 451.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005993/0.4252, allocations: 1.464 MB / 452.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00339/0.4286, allocations: 1.001 MB / 453.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006929/0.4355, allocations: 4.392 MB / 458 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/0.4387, allocations: 1.86 MB / 459.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00366/0.4424, allocations: 2.072 MB / 461.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004504/0.4469, allocations: 2.441 MB / 464.3 MB, free: 6.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001449/0.4484, allocations: 0.5312 MB / 464.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.451, allocations: 0.9174 MB / 465.8 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.4526, allocations: 1.383 MB / 467.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003503/0.4561, allocations: 1.859 MB / 469 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.4673, allocations: 7.439 MB / 476.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4673, allocations: 0 / 476.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4673, allocations: 3.938 kB / 476.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002458/0.4675, allocations: 4 kB / 476.5 MB, free: 10.4 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.0196/0.4871, allocations: 5.056 MB / 481.5 MB, free: 5.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.984e-05/0.4872, allocations: 8.031 kB / 481.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00711/0.4943, allocations: 0.9077 MB / 482.5 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007615/0.5019, allocations: 2.76 MB / 485.2 MB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/0.5022, allocations: 250.7 kB / 485.5 MB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.5033, allocations: 328 kB / 485.8 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.5136, allocations: 4.709 MB / 490.5 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.77e-05/0.5137, allocations: 11.94 kB / 490.5 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/0.514, allocations: 132 kB / 490.6 MB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/0.5142, allocations: 154.7 kB / 490.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007968/0.5222, allocations: 3.911 MB / 494.7 MB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02398/0.5462, allocations: 12.12 MB / 0.4949 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006388/0.5526, allocations: 2.967 MB / 0.4978 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003015/0.5556, allocations: 1.567 MB / 0.4994 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009586/0.5652, allocations: 3.595 MB / 0.5029 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.508e-05/0.5653, allocations: 51.88 kB / 0.5029 GB, free: 3.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 5.962e-06/0.5653, allocations: 0 / 0.5029 GB, free: 3.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.02028/0.5855, allocations: 7.429 MB / 0.5102 GB, free: 12.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.5856, allocations: 73.41 kB / 0.5102 GB, free: 11.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005407/0.591, allocations: 2.464 MB / 0.5127 GB, free: 9.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005084/0.5915, allocations: 57.7 kB / 0.5127 GB, free: 9.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.5933, allocations: 1.684 MB / 0.5144 GB, free: 7.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.5944, allocations: 0.6506 MB / 0.515 GB, free: 7.008 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007259/0.5952, allocations: 343.4 kB / 0.5153 GB, free: 6.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5953, allocations: 305.1 kB / 0.5156 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/0.5972, allocations: 0.9058 MB / 0.5165 GB, free: 5.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.5995, allocations: 1.335 MB / 0.5178 GB, free: 3.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004595/0.6041, allocations: 2.355 MB / 0.5201 GB, free: 1.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/0.6042, allocations: 4 kB / 0.5201 GB, free: 1.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007194/0.6114, allocations: 3.047 MB / 0.5231 GB, free: 14.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.6114, allocations: 12 kB / 0.5231 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.592e-05/0.6115, allocations: 11.98 kB / 0.5231 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/0.6132, allocations: 0.5518 MB / 0.5236 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.6151, allocations: 423.4 kB / 0.524 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.627, allocations: 7.235 MB / 0.5311 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.6295, allocations: 91.83 kB / 0.5312 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/0.6298, allocations: 79.98 kB / 0.5313 GB, free: 5.801 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.00299/0.6328, allocations: 1.16 MB / 0.5324 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007924/0.6335, allocations: 254.3 kB / 0.5326 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/0.6397, allocations: 2.853 MB / 0.5354 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/0.6397, allocations: 20.06 kB / 0.5355 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/0.6398, allocations: 12 kB / 0.5355 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.6398, allocations: 11.95 kB / 0.5355 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3869/1.027, allocations: 5.49 MB / 0.5408 GB, free: 98.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.027, allocations: 1.922 kB / 0.5408 GB, free: 98.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.028, allocations: 276.8 kB / 0.5411 GB, free: 98.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/1.03, allocations: 0.6084 MB / 0.5417 GB, free: 98.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/1.03, allocations: 49.98 kB / 0.5417 GB, free: 98.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009938/1.04, allocations: 10.79 MB / 0.5523 GB, free: 90.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.04, allocations: 0 / 0.5523 GB, free: 90.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006643/1.047, allocations: 4.137 MB / 0.5563 GB, free: 88.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.048, allocations: 478.6 kB / 0.5568 GB, free: 88.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000443/1.048, allocations: 31.91 kB / 0.5568 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.05, allocations: 89.33 kB / 0.5569 GB, free: 88.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/1.05, allocations: 150.3 kB / 0.557 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.05, allocations: 51.27 kB / 0.5571 GB, free: 88.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00215/1.052, allocations: 1.713 MB / 0.5588 GB, free: 87.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.052, allocations: 0 / 0.5588 GB, free: 87.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00253/1.055, allocations: 0.6921 MB / 0.5594 GB, free: 86.61 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.0017/1.057, allocations: 480.8 kB / 0.5599 GB, free: 86.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004766/1.061, allocations: 2.725 MB / 0.5626 GB, free: 83.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.061, allocations: 0 / 0.5626 GB, free: 83.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002772/1.064, allocations: 1.844 MB / 0.5644 GB, free: 82.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/1.067, allocations: 0.4902 MB / 0.5648 GB, free: 81.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/1.079, allocations: 7.169 MB / 0.5718 GB, free: 74.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/1.081, allocations: 2.091 MB / 0.5739 GB, free: 72.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001598/1.083, allocations: 487.2 kB / 0.5743 GB, free: 72.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004584/1.083, allocations: 163.4 kB / 0.5745 GB, free: 72.07 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/1.083, allocations: 0 / 0.5745 GB, free: 72.07 MB / 446.1 MB Notification: Performance of Templates: time 0.05888/1.142, allocations: 40.57 MB / 0.6141 GB, free: 31.96 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 cvode -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: 8.862154501999612]