Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 116.9 kB / 18.41 MB, free: 4.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 186.9 kB / 21.34 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 247 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 51.91 kB / 358.7 MB, free: 8.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09878, allocations: 49.43 MB / 408.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01678/0.1156, allocations: 13.62 MB / 421.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009726/0.1254, allocations: 4.961 MB / 426.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.1275, allocations: 79.69 kB / 426.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.1305, allocations: 1.033 MB / 427.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004396/0.1349, allocations: 1.406 MB / 429.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.1374, allocations: 0.9737 MB / 430.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2023/0.3397, allocations: 4.286 MB / 434.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004351/0.3441, allocations: 3.352 MB / 437.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.3477, allocations: 2.005 MB / 439.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004572/0.3523, allocations: 2.277 MB / 442.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001904/0.3543, allocations: 0.5339 MB / 442.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.3581, allocations: 0.92 MB / 443.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00235/0.3604, allocations: 1.365 MB / 445 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005065/0.3655, allocations: 2.352 MB / 447.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.3756, allocations: 7.378 MB / 454.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3756, allocations: 0 / 454.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3756, allocations: 0 / 454.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002038/0.3758, allocations: 3.984 kB / 454.7 MB, free: 2.527 MB / 350.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.01707/0.3929, allocations: 5.1 MB / 459.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.393, allocations: 9.5 kB / 459.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005344/0.3983, allocations: 0.8924 MB / 460.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006311/0.4047, allocations: 2.792 MB / 463.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.4049, allocations: 253.2 kB / 463.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.406, allocations: 340.7 kB / 464.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009595/0.4156, allocations: 4.546 MB / 468.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.079e-05/0.4157, allocations: 7.109 kB / 468.6 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003772/0.4161, allocations: 139.6 kB / 468.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001787/0.4163, allocations: 158.8 kB / 468.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008702/0.425, allocations: 3.91 MB / 472.8 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02603/0.4511, allocations: 14.04 MB / 486.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008456/0.4596, allocations: 6.983 MB / 493.8 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003407/0.463, allocations: 1.715 MB / 495.6 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008066/0.4711, allocations: 4.256 MB / 499.8 MB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.4712, allocations: 47.88 kB / 499.9 MB, free: 9.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=165): time 3.687e-06/0.4712, allocations: 0 / 499.9 MB, free: 9.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.01848/0.4897, allocations: 7.816 MB / 0.4958 GB, free: 1.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.4898, allocations: 77.06 kB / 0.4959 GB, free: 1.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/0.4941, allocations: 2.625 MB / 0.4984 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.4945, allocations: 57.7 kB / 0.4985 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.4959, allocations: 1.649 MB / 0.5001 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000758/0.4966, allocations: 0.6568 MB / 0.5007 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006493/0.4973, allocations: 342.8 kB / 0.501 GB, free: 12.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4974, allocations: 305.1 kB / 0.5013 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.4992, allocations: 0.9019 MB / 0.5022 GB, free: 11.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.5013, allocations: 1.308 MB / 0.5035 GB, free: 9.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.5054, allocations: 2.351 MB / 0.5058 GB, free: 7.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.5054, allocations: 4 kB / 0.5058 GB, free: 7.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006332/0.5117, allocations: 3.079 MB / 0.5088 GB, free: 4.363 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.5118, allocations: 8 kB / 0.5088 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.5118, allocations: 12.25 kB / 0.5088 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.5135, allocations: 0.5516 MB / 0.5094 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.5154, allocations: 432.5 kB / 0.5098 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.5257, allocations: 7.599 MB / 0.5172 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.5279, allocations: 91.92 kB / 0.5173 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/0.5282, allocations: 79.97 kB / 0.5174 GB, free: 11.38 MB / 430.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.00254/0.5307, allocations: 1.157 MB / 0.5185 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007405/0.5315, allocations: 279.7 kB / 0.5188 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005962/0.5374, allocations: 2.88 MB / 0.5216 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.578e-05/0.5375, allocations: 20 kB / 0.5216 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.5375, allocations: 15.97 kB / 0.5216 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.5376, allocations: 11.97 kB / 0.5216 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.5501, allocations: 6.335 MB / 0.5278 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.5502, allocations: 64 / 0.5278 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.5515, allocations: 286 kB / 0.5281 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.5534, allocations: 0.6189 MB / 0.5287 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.5536, allocations: 39.98 kB / 0.5287 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.567, allocations: 11.47 MB / 0.5399 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.567, allocations: 4.031 kB / 0.5399 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008322/0.5753, allocations: 4.162 MB / 0.544 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/0.577, allocations: 0.55 MB / 0.5445 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007005/0.5777, allocations: 36 kB / 0.5446 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.5792, allocations: 91.55 kB / 0.5446 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004149/0.5796, allocations: 148.9 kB / 0.5448 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.5798, allocations: 51.98 kB / 0.5448 GB, free: 14.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003212/0.583, allocations: 1.842 MB / 0.5466 GB, free: 12.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.583, allocations: 0 / 0.5466 GB, free: 12.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003503/0.5865, allocations: 0.6913 MB / 0.5473 GB, free: 12.21 MB / 462.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.001768/0.5883, allocations: 461 kB / 0.5477 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005832/0.5942, allocations: 2.823 MB / 0.5505 GB, free: 9.105 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.5942, allocations: 0 / 0.5505 GB, free: 9.105 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003692/0.5979, allocations: 1.954 MB / 0.5524 GB, free: 7.137 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/0.6015, allocations: 0.5775 MB / 0.553 GB, free: 6.562 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.6168, allocations: 7.162 MB / 0.56 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003054/0.6199, allocations: 2.57 MB / 0.5625 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009726/0.6209, allocations: 191.4 kB / 0.5627 GB, free: 12.59 MB / 478.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6209, allocations: 0 / 0.5627 GB, free: 12.59 MB / 478.1 MB Notification: Performance of Templates: time 0.3067/0.9276, allocations: 100.6 MB / 0.6609 GB, free: 128.3 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.579439138062298]