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.0009351/0.0009351, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004419/0.004419, allocations: 157.7 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8246/0.8246, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.513e-06/1.513e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.075e-05, allocations: 2.281 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.009157/0.009177, allocations: 12.52 MB / 338.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005484/0.01466, allocations: 5.105 MB / 343.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.0153, allocations: 103.4 kB / 343.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.01678, allocations: 1.056 MB / 344.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.01857, allocations: 1.502 MB / 346.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.0196, allocations: 1.015 MB / 347.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00277/0.02237, allocations: 4.568 MB / 351.7 MB, free: 5.352 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.02387, allocations: 1.802 MB / 353.5 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.02627, allocations: 3.002 MB / 356.5 MB, free: 488 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.02783, allocations: 1.96 MB / 358.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004146/0.02825, allocations: 0.5352 MB / 359 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008849/0.02913, allocations: 0.8976 MB / 359.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009781/0.03011, allocations: 1.41 MB / 361.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.03125, allocations: 1.571 MB / 362.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.03584, allocations: 7.452 MB / 370.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.03584, allocations: 4 kB / 370.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.03584, allocations: 0 / 370.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.195e-05/0.03591, allocations: 4 kB / 370.3 MB, free: 2.609 MB / 330.7 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.006217/0.04212, allocations: 5.009 MB / 375.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.04216, allocations: 15.98 kB / 375.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.04448, allocations: 0.9077 MB / 376.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.04726, allocations: 2.76 MB / 379 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.04738, allocations: 251.1 kB / 379.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/0.0477, allocations: 332.3 kB / 379.6 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004832/0.05253, allocations: 4.71 MB / 384.3 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/0.05258, allocations: 11.94 kB / 384.3 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.0528, allocations: 132 kB / 384.4 MB, free: 4.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.765e-05/0.05289, allocations: 158.7 kB / 384.6 MB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004092/0.05699, allocations: 3.911 MB / 388.5 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.06915, allocations: 12.12 MB / 400.6 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/0.07261, allocations: 2.96 MB / 403.6 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.07455, allocations: 1.587 MB / 405.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004213/0.07876, allocations: 3.61 MB / 408.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.0788, allocations: 51.88 kB / 408.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=165): time 3.617e-06/0.0788, allocations: 0 / 408.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.01009/0.08889, allocations: 7.414 MB / 416.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.08894, allocations: 69.41 kB / 416.3 MB, free: 4.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.0912, allocations: 2.46 MB / 418.8 MB, free: 1.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.891e-05/0.09128, allocations: 53.7 kB / 418.8 MB, free: 1.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.09239, allocations: 1.685 MB / 420.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.09275, allocations: 0.6468 MB / 421.2 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.09312, allocations: 331.5 kB / 421.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.0932, allocations: 305.1 kB / 421.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.09422, allocations: 0.9136 MB / 422.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.09544, allocations: 1.331 MB / 424 MB, free: 12.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.09795, allocations: 2.355 MB / 426.4 MB, free: 9.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.09796, allocations: 4 kB / 426.4 MB, free: 9.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.003223/0.1012, allocations: 3.058 MB / 429.4 MB, free: 6.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.1012, allocations: 11.94 kB / 429.5 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.1012, allocations: 12 kB / 429.5 MB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008599/0.1021, allocations: 0.5479 MB / 430 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008655/0.1029, allocations: 423.4 kB / 430.4 MB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006017/0.109, allocations: 7.22 MB / 437.6 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.1097, allocations: 87.92 kB / 437.7 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.1098, allocations: 79.91 kB / 437.8 MB, free: 14.07 MB / 410.7 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.001495/0.1113, allocations: 1.169 MB / 439 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.1116, allocations: 254.4 kB / 439.2 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.1148, allocations: 2.845 MB / 442.1 MB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.1149, allocations: 31.91 kB / 442.1 MB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1149, allocations: 8 kB / 442.1 MB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.1149, allocations: 7.969 kB / 442.1 MB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/0.1209, allocations: 5.481 MB / 447.6 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.1209, allocations: 4 kB / 447.6 MB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.1215, allocations: 275.6 kB / 447.9 MB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008709/0.1224, allocations: 0.6234 MB / 448.5 MB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.272e-05/0.1225, allocations: 55.95 kB / 448.6 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1537/0.2762, allocations: 10.76 MB / 459.3 MB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2762, allocations: 2.062 kB / 459.3 MB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/0.2804, allocations: 4.137 MB / 463.4 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006448/0.281, allocations: 475 kB / 463.9 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.2812, allocations: 41.83 kB / 464 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.2817, allocations: 85.03 kB / 464 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.282, allocations: 148.4 kB / 464.2 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/0.282, allocations: 58.55 kB / 464.2 MB, free: 104.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00142/0.2835, allocations: 1.71 MB / 465.9 MB, free: 104 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2835, allocations: 0 / 465.9 MB, free: 104 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001435/0.2849, allocations: 0.6898 MB / 466.6 MB, free: 103.9 MB / 410.7 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.0007998/0.2857, allocations: 472.6 kB / 467.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.2883, allocations: 2.727 MB / 469.8 MB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2883, allocations: 6.516 kB / 469.8 MB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.2897, allocations: 1.84 MB / 471.7 MB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.2908, allocations: 0.4901 MB / 472.2 MB, free: 99.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/0.2971, allocations: 6.991 MB / 479.2 MB, free: 93.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.2984, allocations: 2.026 MB / 481.2 MB, free: 91.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.2987, allocations: 184.4 kB / 481.4 MB, free: 91.63 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2987, allocations: 0 / 481.4 MB, free: 91.63 MB / 410.7 MB Notification: Performance of Templates: time 0.05436/0.3531, allocations: 101.7 MB / 0.5694 GB, free: 5.973 MB / 426.7 MB " [Timeout remaining time 660] 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/jenkins/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/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.902278591878712]