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.001649/0.001649, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001975/0.001975, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.422/1.422, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001528/0.001528, allocations: 47.92 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2407, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01512/0.2558, allocations: 12.99 MB / 436.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008093/0.2639, allocations: 4.284 MB / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.2658, allocations: 95.44 kB / 441.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002668/0.2684, allocations: 1.025 MB / 442.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.2723, allocations: 1.355 MB / 443.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.2745, allocations: 0.8567 MB / 444.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0058/0.2803, allocations: 4.024 MB / 448.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.283, allocations: 1.777 MB / 450.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.2859, allocations: 1.94 MB / 452.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.2894, allocations: 2.148 MB / 454.4 MB, free: 4 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008481/0.2902, allocations: 0.5079 MB / 454.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.2918, allocations: 0.7145 MB / 455.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.2929, allocations: 1.149 MB / 456.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002763/0.2957, allocations: 2.128 MB / 458.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007897/0.3036, allocations: 6.77 MB / 465.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3036, allocations: 4 kB / 465.7 MB, free: 4.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3036, allocations: 4 kB / 465.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001338/0.3037, allocations: 0 / 465.7 MB, free: 4.691 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.01155/0.3153, allocations: 4.412 MB / 470.1 MB, free: 224 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3153, allocations: 8.031 kB / 470.1 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00448/0.3198, allocations: 0.83 MB / 470.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005354/0.3251, allocations: 2.424 MB / 473.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.3254, allocations: 238.6 kB / 473.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006864/0.326, allocations: 324.1 kB / 473.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007717/0.3338, allocations: 4.25 MB / 478.1 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.376e-05/0.3338, allocations: 11.89 kB / 478.2 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.3341, allocations: 124 kB / 478.3 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.3343, allocations: 146.2 kB / 478.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006771/0.3411, allocations: 3.667 MB / 482.1 MB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02178/0.3628, allocations: 13.1 MB / 495.2 MB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004979/0.3678, allocations: 2.591 MB / 497.8 MB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.3701, allocations: 1.305 MB / 499.1 MB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006327/0.3764, allocations: 3.379 MB / 0.4907 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.3765, allocations: 43.56 kB / 0.4907 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.916e-06/0.3765, allocations: 0 / 0.4907 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01328/0.3897, allocations: 6.079 MB / 0.4967 GB, free: 9.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3898, allocations: 64.72 kB / 0.4967 GB, free: 9.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.3927, allocations: 1.855 MB / 0.4985 GB, free: 7.371 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.3928, allocations: 57.64 kB / 0.4986 GB, free: 7.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.394, allocations: 1.463 MB / 0.5 GB, free: 5.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000486/0.3945, allocations: 0.519 MB / 0.5005 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/0.395, allocations: 303.5 kB / 0.5008 GB, free: 5.008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3951, allocations: 301.1 kB / 0.5011 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.3964, allocations: 0.7612 MB / 0.5018 GB, free: 3.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.398, allocations: 1.224 MB / 0.503 GB, free: 2.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/0.4011, allocations: 2.108 MB / 0.5051 GB, free: 240 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4011, allocations: 4 kB / 0.5051 GB, free: 236 kB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004944/0.4061, allocations: 2.653 MB / 0.5077 GB, free: 13.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.4061, allocations: 11.94 kB / 0.5077 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/0.4062, allocations: 19.98 kB / 0.5077 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.4076, allocations: 0.5022 MB / 0.5082 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.4091, allocations: 387.4 kB / 0.5086 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009096/0.4182, allocations: 6.717 MB / 0.5151 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.4198, allocations: 79.91 kB / 0.5152 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.4199, allocations: 68.03 kB / 0.5153 GB, free: 5.551 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.001914/0.4219, allocations: 1.052 MB / 0.5163 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/0.4223, allocations: 198.7 kB / 0.5165 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/0.4268, allocations: 2.345 MB / 0.5188 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.4268, allocations: 12 kB / 0.5188 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.4269, allocations: 15.94 kB / 0.5188 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.4269, allocations: 3.984 kB / 0.5188 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009438/0.4363, allocations: 5.346 MB / 0.524 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4363, allocations: 0 / 0.524 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4374, allocations: 211.7 kB / 0.5242 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.4387, allocations: 0.5027 MB / 0.5247 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.4388, allocations: 43.92 kB / 0.5248 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/0.4505, allocations: 10.9 MB / 0.5354 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4505, allocations: 0 / 0.5354 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2136/0.6641, allocations: 3.394 MB / 0.5387 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.6653, allocations: 398.7 kB / 0.5391 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.6655, allocations: 33.44 kB / 0.5391 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009062/0.6664, allocations: 65.16 kB / 0.5392 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/0.6668, allocations: 124.8 kB / 0.5393 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/0.6669, allocations: 45.31 kB / 0.5394 GB, free: 104.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001828/0.6687, allocations: 1.282 MB / 0.5406 GB, free: 103.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6687, allocations: 0 / 0.5406 GB, free: 103.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001986/0.6707, allocations: 0.5872 MB / 0.5412 GB, free: 103.9 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.0003243/0.671, allocations: 168.9 kB / 0.5414 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003588/0.6746, allocations: 2.317 MB / 0.5436 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6746, allocations: 0 / 0.5436 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.6768, allocations: 1.665 MB / 0.5452 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.6792, allocations: 0.5151 MB / 0.5458 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009073/0.6883, allocations: 6.036 MB / 0.5516 GB, free: 98.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.6898, allocations: 2.319 MB / 0.5539 GB, free: 97.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006198/0.6904, allocations: 139.1 kB / 0.554 GB, free: 97.35 MB / 446.1 MB Notification: Performance of SimCode: time 1.442e-06/0.6904, allocations: 3.938 kB / 0.554 GB, free: 97.35 MB / 446.1 MB Notification: Performance of Templates: time 0.07718/0.7676, allocations: 97.94 MB / 0.6497 GB, free: 344 kB / 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/jenkins1/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/jenkins1/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: 13.794085332890972]