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.001304/0.001305, allocations: 119.5 kB / 18.41 MB, free: 4.664 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.001285/0.001286, allocations: 192.3 kB / 21.35 MB, free: 1.734 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.427/1.427, allocations: 222.9 MB / 247 MB, free: 4.215 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_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.001499/0.001499, allocations: 55.91 kB / 358.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09995, allocations: 49.43 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01579/0.1158, allocations: 12.88 MB / 421 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008609/0.1244, allocations: 4.251 MB / 425.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.1264, allocations: 79.75 kB / 425.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.1292, allocations: 0.9668 MB / 426.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.1333, allocations: 1.309 MB / 427.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.1353, allocations: 0.8295 MB / 428.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2012/0.3365, allocations: 4.01 MB / 432.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003617/0.3402, allocations: 3.236 MB / 435.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.343, allocations: 1.88 MB / 437.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/0.3463, allocations: 2.123 MB / 439.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.3473, allocations: 0.5087 MB / 440.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.3491, allocations: 0.709 MB / 440.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.3501, allocations: 1.137 MB / 442 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002341/0.3524, allocations: 2.123 MB / 444.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007906/0.3604, allocations: 6.775 MB / 450.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3604, allocations: 3.938 kB / 450.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3604, allocations: 1 kB / 450.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001962/0.3606, allocations: 0 / 450.9 MB, free: 3.359 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01248/0.3731, allocations: 4.492 MB / 455.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3731, allocations: 9.344 kB / 455.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004332/0.3775, allocations: 0.8295 MB / 456.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005048/0.3826, allocations: 2.474 MB / 458.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.3827, allocations: 233.9 kB / 459 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006281/0.3834, allocations: 317.3 kB / 459.3 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.3938, allocations: 4.26 MB / 463.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.96e-05/0.3939, allocations: 9.266 kB / 463.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003648/0.3943, allocations: 130.3 kB / 463.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.3944, allocations: 142.8 kB / 463.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006582/0.401, allocations: 3.662 MB / 467.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.4261, allocations: 13.35 MB / 480.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007282/0.4334, allocations: 6.886 MB / 487.7 MB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002564/0.436, allocations: 1.415 MB / 489.1 MB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006604/0.4426, allocations: 3.63 MB / 492.8 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4427, allocations: 47.03 kB / 492.8 MB, free: 0.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=124): time 2.736e-06/0.4427, allocations: 4 kB / 492.8 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of matching and sorting (n=144): time 0.01462/0.4573, allocations: 6.688 MB / 499.5 MB, free: 9.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.4574, allocations: 71.53 kB / 499.6 MB, free: 9.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003212/0.4607, allocations: 1.855 MB / 0.4897 GB, free: 7.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.4609, allocations: 53.7 kB / 0.4897 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.462, allocations: 1.458 MB / 0.4911 GB, free: 6.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004958/0.4625, allocations: 0.5164 MB / 0.4917 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005091/0.463, allocations: 303.5 kB / 0.4919 GB, free: 5.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4632, allocations: 305.1 kB / 0.4922 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.4645, allocations: 0.7613 MB / 0.493 GB, free: 4.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.4661, allocations: 1.226 MB / 0.4942 GB, free: 2.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/0.4692, allocations: 2.107 MB / 0.4962 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.4692, allocations: 4 kB / 0.4962 GB, free: 0.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004894/0.4741, allocations: 2.668 MB / 0.4988 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.4742, allocations: 11.98 kB / 0.4989 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.4742, allocations: 24.22 kB / 0.4989 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.4756, allocations: 0.5059 MB / 0.4994 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.4771, allocations: 383.6 kB / 0.4997 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009114/0.4863, allocations: 6.937 MB / 0.5065 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.4881, allocations: 75.91 kB / 0.5066 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/0.4884, allocations: 68 kB / 0.5066 GB, free: 5.867 MB / 414.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.002246/0.4906, allocations: 1.06 MB / 0.5077 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000548/0.4912, allocations: 198.7 kB / 0.5079 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004718/0.4959, allocations: 2.489 MB / 0.5103 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.4959, allocations: 16 kB / 0.5103 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.496, allocations: 4 kB / 0.5103 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.496, allocations: 19.89 kB / 0.5103 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.5062, allocations: 5.526 MB / 0.5157 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.5063, allocations: 8 kB / 0.5157 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.5073, allocations: 218.5 kB / 0.516 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.5087, allocations: 0.4985 MB / 0.5164 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.5088, allocations: 28 kB / 0.5165 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.5206, allocations: 11.43 MB / 0.5276 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5206, allocations: 4.031 kB / 0.5276 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006071/0.5267, allocations: 3.585 MB / 0.5311 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.5278, allocations: 463.7 kB / 0.5316 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/0.5281, allocations: 35.98 kB / 0.5316 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009435/0.5291, allocations: 63.95 kB / 0.5317 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/0.5294, allocations: 116.2 kB / 0.5318 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.533e-05/0.5295, allocations: 39.98 kB / 0.5318 GB, free: 11.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002169/0.5317, allocations: 1.286 MB / 0.5331 GB, free: 10.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5317, allocations: 0 / 0.5331 GB, free: 10.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00223/0.5339, allocations: 0.5859 MB / 0.5337 GB, free: 9.434 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.000326/0.5343, allocations: 171.7 kB / 0.5338 GB, free: 9.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004309/0.5386, allocations: 2.397 MB / 0.5362 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5386, allocations: 4 kB / 0.5362 GB, free: 6.895 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002775/0.5414, allocations: 1.74 MB / 0.5379 GB, free: 5.113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/0.5442, allocations: 0.5103 MB / 0.5384 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.5556, allocations: 5.998 MB / 0.5442 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/0.558, allocations: 2.316 MB / 0.5465 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/0.5587, allocations: 143.4 kB / 0.5466 GB, free: 12.09 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5588, allocations: 0 / 0.5466 GB, free: 12.09 MB / 462.1 MB Notification: Performance of Templates: time 0.3005/0.8593, allocations: 97.68 MB / 0.642 GB, free: 147.2 MB / 0.4981 GB " [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_2/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_2/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.097607456962578]