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_Initialize.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.001614/0.001614, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001902/0.001902, allocations: 212 kB / 23.74 MB, free: 4.656 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.031 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_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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 47.92 kB / 378.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2349, allocations: 53.36 MB / 431.6 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01659/0.2515, allocations: 13.64 MB / 445.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00951/0.261, allocations: 4.563 MB / 449.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.2629, allocations: 99.38 kB / 449.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.266, allocations: 1.037 MB / 451 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005593/0.2716, allocations: 1.332 MB / 452.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.2742, allocations: 0.9039 MB / 453.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005939/0.2801, allocations: 4.08 MB / 457.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.2828, allocations: 1.781 MB / 459.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.286, allocations: 1.955 MB / 461 MB, free: 9.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.29, allocations: 2.277 MB / 463.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.2911, allocations: 0.5156 MB / 463.8 MB, free: 6.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.2928, allocations: 0.7302 MB / 464.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.2939, allocations: 1.149 MB / 465.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002834/0.2968, allocations: 2.136 MB / 467.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008341/0.3051, allocations: 6.816 MB / 474.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3051, allocations: 4 kB / 474.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3051, allocations: 0 / 474.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001508/0.3053, allocations: 0 / 474.7 MB, free: 11.73 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01162/0.3169, allocations: 4.447 MB / 479.1 MB, free: 7.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3169, allocations: 12.03 kB / 479.1 MB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004383/0.3213, allocations: 0.8456 MB / 480 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/0.3261, allocations: 2.459 MB / 482.4 MB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.3263, allocations: 234.6 kB / 482.6 MB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005223/0.3268, allocations: 319.9 kB / 483 MB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00774/0.3345, allocations: 4.266 MB / 487.2 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.885e-05/0.3346, allocations: 7.953 kB / 487.2 MB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.3349, allocations: 128 kB / 487.4 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.335, allocations: 138.2 kB / 487.5 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006528/0.3416, allocations: 3.679 MB / 491.2 MB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02146/0.363, allocations: 13.11 MB / 0.4925 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005296/0.3683, allocations: 2.611 MB / 0.495 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.3706, allocations: 1.305 MB / 0.4963 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006561/0.3772, allocations: 3.426 MB / 0.4996 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3772, allocations: 47.5 kB / 0.4997 GB, free: 6.289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.056e-06/0.3773, allocations: 0 / 0.4997 GB, free: 6.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01408/0.3913, allocations: 6.079 MB / 0.5056 GB, free: 168 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3914, allocations: 68.72 kB / 0.5057 GB, free: 88 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/0.3944, allocations: 1.888 MB / 0.5075 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.3945, allocations: 57.64 kB / 0.5076 GB, free: 14.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.3957, allocations: 1.479 MB / 0.509 GB, free: 12.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004672/0.3962, allocations: 0.5151 MB / 0.5095 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/0.3967, allocations: 307.5 kB / 0.5098 GB, free: 11.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3968, allocations: 301.1 kB / 0.5101 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.3982, allocations: 0.7691 MB / 0.5108 GB, free: 10.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.3998, allocations: 1.216 MB / 0.512 GB, free: 9.344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.403, allocations: 2.115 MB / 0.5141 GB, free: 7.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.403, allocations: 4 kB / 0.5141 GB, free: 7.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005026/0.408, allocations: 2.664 MB / 0.5167 GB, free: 4.355 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.4081, allocations: 15.09 kB / 0.5167 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.4081, allocations: 23.98 kB / 0.5167 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.4095, allocations: 0.502 MB / 0.5172 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.4111, allocations: 383.5 kB / 0.5176 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009302/0.4204, allocations: 6.723 MB / 0.5242 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.4219, allocations: 83.78 kB / 0.5242 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.422, allocations: 72 kB / 0.5243 GB, free: 12.33 MB / 446.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.002024/0.424, allocations: 1.052 MB / 0.5253 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.4245, allocations: 206.7 kB / 0.5255 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/0.4291, allocations: 2.334 MB / 0.5278 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.4291, allocations: 19.94 kB / 0.5278 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.4291, allocations: 4 kB / 0.5278 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.4292, allocations: 7.969 kB / 0.5278 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009766/0.4389, allocations: 5.355 MB / 0.5331 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.4389, allocations: 4 kB / 0.5331 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.44, allocations: 227.8 kB / 0.5333 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.4414, allocations: 0.492 MB / 0.5338 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.721e-05/0.4415, allocations: 35.98 kB / 0.5338 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2056/0.6471, allocations: 10.9 MB / 0.5445 GB, free: 92.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6471, allocations: 10.03 kB / 0.5445 GB, free: 92.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005085/0.6521, allocations: 3.416 MB / 0.5478 GB, free: 91.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009865/0.6531, allocations: 396.2 kB / 0.5482 GB, free: 91.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.6534, allocations: 33.48 kB / 0.5482 GB, free: 91.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009126/0.6543, allocations: 65.03 kB / 0.5483 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/0.6546, allocations: 119.8 kB / 0.5484 GB, free: 91.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.6546, allocations: 39.75 kB / 0.5484 GB, free: 91.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00157/0.6562, allocations: 1.308 MB / 0.5497 GB, free: 90.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6562, allocations: 0 / 0.5497 GB, free: 90.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001686/0.6579, allocations: 0.5864 MB / 0.5503 GB, free: 90.45 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.0002489/0.6581, allocations: 167.8 kB / 0.5504 GB, free: 90.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003273/0.6614, allocations: 2.318 MB / 0.5527 GB, free: 89.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6614, allocations: 0 / 0.5527 GB, free: 89.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.6636, allocations: 1.668 MB / 0.5543 GB, free: 88.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.6655, allocations: 0.5392 MB / 0.5549 GB, free: 88.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/0.6731, allocations: 6.056 MB / 0.5608 GB, free: 84.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/0.6746, allocations: 2.381 MB / 0.5631 GB, free: 82.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001056/0.6756, allocations: 419.5 kB / 0.5635 GB, free: 82.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.676, allocations: 137.4 kB / 0.5636 GB, free: 82.41 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.676, allocations: 0 / 0.5636 GB, free: 82.41 MB / 446.1 MB Notification: Performance of Templates: time 0.04717/0.7231, allocations: 33.39 MB / 0.5962 GB, free: 49.62 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.237189745996147]