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_Initialize.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.001283/0.001283, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001332/0.001332, allocations: 182.9 kB / 23.71 MB, free: 4.695 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.405/1.405, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|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.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|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.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|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.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|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.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 51.92 kB / 371 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3025, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01659/0.3191, allocations: 12.99 MB / 436.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008736/0.3278, allocations: 4.28 MB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.33, allocations: 91.44 kB / 440.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.3329, allocations: 1.021 MB / 441.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.3373, allocations: 1.375 MB / 442.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.3392, allocations: 0.8503 MB / 443.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005415/0.3446, allocations: 4.02 MB / 447.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003485/0.3481, allocations: 1.777 MB / 449.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.3514, allocations: 1.943 MB / 451.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/0.3551, allocations: 2.141 MB / 453.6 MB, free: 8 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009571/0.3561, allocations: 0.5118 MB / 454.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.3577, allocations: 0.7184 MB / 454.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.3588, allocations: 1.141 MB / 456 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.3616, allocations: 2.128 MB / 458.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009046/0.3707, allocations: 6.774 MB / 464.9 MB, free: 4.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3707, allocations: 0 / 464.9 MB, free: 4.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3707, allocations: 0 / 464.9 MB, free: 4.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001463/0.3708, allocations: 0 / 464.9 MB, free: 4.699 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01353/0.3844, allocations: 4.416 MB / 469.3 MB, free: 228 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3844, allocations: 8.031 kB / 469.3 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004502/0.3889, allocations: 0.8261 MB / 470.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005075/0.394, allocations: 2.435 MB / 472.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.3942, allocations: 234.6 kB / 472.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/0.3947, allocations: 320.1 kB / 473.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007748/0.4025, allocations: 4.258 MB / 477.4 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.239e-05/0.4025, allocations: 3.953 kB / 477.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003197/0.4028, allocations: 132 kB / 477.5 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.403, allocations: 146.2 kB / 477.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006534/0.4095, allocations: 3.655 MB / 481.3 MB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/0.4325, allocations: 13.1 MB / 494.4 MB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005432/0.4379, allocations: 2.602 MB / 497 MB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/0.4405, allocations: 1.296 MB / 498.3 MB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006603/0.4471, allocations: 3.375 MB / 0.4899 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.4471, allocations: 47.56 kB / 0.49 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.116e-06/0.4471, allocations: 4 kB / 0.49 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01519/0.4623, allocations: 6.083 MB / 0.4959 GB, free: 9.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.4624, allocations: 64.72 kB / 0.496 GB, free: 9.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.4661, allocations: 1.859 MB / 0.4978 GB, free: 7.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002592/0.4664, allocations: 49.7 kB / 0.4978 GB, free: 7.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.4677, allocations: 1.463 MB / 0.4993 GB, free: 5.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006856/0.4684, allocations: 0.5152 MB / 0.4998 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005895/0.469, allocations: 299.5 kB / 0.5001 GB, free: 5.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4691, allocations: 305.1 kB / 0.5004 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.4706, allocations: 0.7652 MB / 0.5011 GB, free: 3.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.4725, allocations: 1.216 MB / 0.5023 GB, free: 2.539 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.4758, allocations: 2.108 MB / 0.5043 GB, free: 248 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.4758, allocations: 4 kB / 0.5044 GB, free: 244 kB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005038/0.4808, allocations: 2.656 MB / 0.5069 GB, free: 13.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.4808, allocations: 15.94 kB / 0.507 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.4809, allocations: 15.94 kB / 0.507 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.4823, allocations: 0.5062 MB / 0.5075 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.4839, allocations: 379.4 kB / 0.5078 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009594/0.4935, allocations: 6.725 MB / 0.5144 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.4949, allocations: 79.91 kB / 0.5145 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.4951, allocations: 79.92 kB / 0.5146 GB, free: 5.539 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * 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,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001963/0.4971, allocations: 1.04 MB / 0.5156 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000505/0.4976, allocations: 202.7 kB / 0.5158 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/0.5024, allocations: 2.334 MB / 0.518 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.5024, allocations: 16 kB / 0.5181 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.885e-05/0.5024, allocations: 7.938 kB / 0.5181 GB, free: 1.898 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.5024, allocations: 3.984 kB / 0.5181 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.5125, allocations: 5.35 MB / 0.5233 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.5125, allocations: 8.188 kB / 0.5233 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.5136, allocations: 219.7 kB / 0.5235 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.515, allocations: 0.4959 MB / 0.524 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.5151, allocations: 35.98 kB / 0.524 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.5279, allocations: 10.91 MB / 0.5347 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.5279, allocations: 7.969 kB / 0.5347 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2239/0.7518, allocations: 3.394 MB / 0.538 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.7531, allocations: 398.2 kB / 0.5384 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/0.7534, allocations: 33.91 kB / 0.5384 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.7545, allocations: 70.33 kB / 0.5385 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/0.7549, allocations: 115.4 kB / 0.5386 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/0.755, allocations: 43.08 kB / 0.5386 GB, free: 104.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001969/0.7569, allocations: 1.291 MB / 0.5399 GB, free: 103.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7569, allocations: 0 / 0.5399 GB, free: 103.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002208/0.7591, allocations: 0.5829 MB / 0.5405 GB, free: 103.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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) * 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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004739/0.7596, allocations: 160.9 kB / 0.5406 GB, free: 103.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003917/0.7635, allocations: 2.318 MB / 0.5429 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.7635, allocations: 0 / 0.5429 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.7658, allocations: 1.665 MB / 0.5445 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.7683, allocations: 0.5146 MB / 0.545 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009082/0.7774, allocations: 6.052 MB / 0.5509 GB, free: 98.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.779, allocations: 2.365 MB / 0.5532 GB, free: 97.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001417/0.7804, allocations: 417.3 kB / 0.5536 GB, free: 97.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.7808, allocations: 130.5 kB / 0.5537 GB, free: 97.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/0.7808, allocations: 3.938 kB / 0.5538 GB, free: 97.03 MB / 446.1 MB Notification: Performance of Templates: time 0.04722/0.828, allocations: 33.03 MB / 0.586 GB, free: 65.08 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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: 6.260257442481816]