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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 199.7 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 251.4 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] 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.001609/0.001609, allocations: 55.91 kB / 369.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2669, allocations: 52.14 MB / 421.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01537/0.2823, allocations: 12.94 MB / 434.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009045/0.2913, allocations: 4.278 MB / 438.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.2936, allocations: 79.69 kB / 438.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00315/0.2967, allocations: 1.014 MB / 439.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00436/0.3011, allocations: 1.344 MB / 441 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.3036, allocations: 0.8486 MB / 441.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005901/0.3095, allocations: 4.014 MB / 445.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004198/0.3137, allocations: 2.257 MB / 448.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.317, allocations: 1.893 MB / 450 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003992/0.321, allocations: 2.148 MB / 452.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001575/0.3225, allocations: 0.5079 MB / 452.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.3252, allocations: 0.7106 MB / 453.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001842/0.327, allocations: 1.149 MB / 454.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003997/0.331, allocations: 2.128 MB / 456.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009404/0.3404, allocations: 6.768 MB / 463.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3404, allocations: 0 / 463.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3404, allocations: 0 / 463.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002161/0.3407, allocations: 4 kB / 463.4 MB, free: 4.883 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.01375/0.3544, allocations: 4.487 MB / 467.9 MB, free: 324 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.3545, allocations: 16.02 kB / 467.9 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004892/0.3593, allocations: 0.8262 MB / 468.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00587/0.3652, allocations: 2.48 MB / 471.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.3655, allocations: 234.6 kB / 471.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.3666, allocations: 316.1 kB / 471.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.3777, allocations: 4.254 MB / 476 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.3778, allocations: 11.95 kB / 476 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008093/0.3786, allocations: 123.9 kB / 476.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001964/0.3788, allocations: 150.2 kB / 476.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008341/0.3871, allocations: 3.667 MB / 479.9 MB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02647/0.4136, allocations: 13.35 MB / 493.3 MB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007307/0.4209, allocations: 6.753 MB / 0.4883 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002691/0.4236, allocations: 1.304 MB / 0.4896 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007324/0.4309, allocations: 3.628 MB / 0.4931 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.431, allocations: 47.56 kB / 0.4932 GB, free: 9.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.657e-06/0.431, allocations: 0 / 0.4932 GB, free: 9.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01433/0.4453, allocations: 6.674 MB / 0.4997 GB, free: 2.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.4454, allocations: 72.72 kB / 0.4998 GB, free: 2.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.4486, allocations: 1.851 MB / 0.5016 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.4487, allocations: 53.7 kB / 0.5016 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.4499, allocations: 1.463 MB / 0.5031 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/0.4504, allocations: 0.519 MB / 0.5036 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005355/0.4509, allocations: 299.5 kB / 0.5038 GB, free: 14.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4511, allocations: 305.1 kB / 0.5041 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.4524, allocations: 0.7613 MB / 0.5049 GB, free: 13.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.454, allocations: 1.224 MB / 0.5061 GB, free: 12.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/0.4572, allocations: 2.104 MB / 0.5081 GB, free: 9.766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/0.4572, allocations: 4 kB / 0.5081 GB, free: 9.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005046/0.4623, allocations: 2.653 MB / 0.5107 GB, free: 7.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.4623, allocations: 20 kB / 0.5107 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.4623, allocations: 12 kB / 0.5108 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.4638, allocations: 0.506 MB / 0.5112 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.4653, allocations: 387.4 kB / 0.5116 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009213/0.4745, allocations: 6.931 MB / 0.5184 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.476, allocations: 75.91 kB / 0.5185 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/0.4763, allocations: 75.94 kB / 0.5185 GB, free: 14.81 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.002069/0.4783, allocations: 1.052 MB / 0.5196 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005326/0.4789, allocations: 202.7 kB / 0.5198 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004717/0.4836, allocations: 2.48 MB / 0.5222 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.4836, allocations: 19.98 kB / 0.5222 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/0.4836, allocations: 7.938 kB / 0.5222 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.4836, allocations: 7.984 kB / 0.5222 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.4943, allocations: 5.517 MB / 0.5276 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4943, allocations: 4 kB / 0.5276 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.4953, allocations: 215.7 kB / 0.5278 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.4967, allocations: 0.4948 MB / 0.5283 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.4969, allocations: 39.98 kB / 0.5283 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.5089, allocations: 11.43 MB / 0.5395 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5089, allocations: 4.031 kB / 0.5395 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006154/0.515, allocations: 3.559 MB / 0.543 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.5162, allocations: 467.7 kB / 0.5434 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004922/0.5167, allocations: 32 kB / 0.5434 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.5179, allocations: 63.95 kB / 0.5435 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.5182, allocations: 113.1 kB / 0.5436 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.5183, allocations: 43.92 kB / 0.5437 GB, free: 4.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002505/0.5208, allocations: 1.286 MB / 0.5449 GB, free: 2.773 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5208, allocations: 4 kB / 0.5449 GB, free: 2.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002542/0.5234, allocations: 0.5897 MB / 0.5455 GB, free: 2.18 MB / 462.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.0004077/0.5238, allocations: 155.1 kB / 0.5456 GB, free: 2.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2278/0.7516, allocations: 2.313 MB / 0.5479 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.7516, allocations: 0.5312 kB / 0.5479 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003056/0.7546, allocations: 1.668 MB / 0.5495 GB, free: 121.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.7572, allocations: 0.522 MB / 0.55 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009083/0.7663, allocations: 6.031 MB / 0.5559 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.7678, allocations: 2.311 MB / 0.5582 GB, free: 118.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.7684, allocations: 141.3 kB / 0.5583 GB, free: 118.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.442e-06/0.7684, allocations: 0 / 0.5583 GB, free: 118.4 MB / 462.1 MB Notification: Performance of Templates: time 0.07777/0.8461, allocations: 97.95 MB / 0.654 GB, free: 25.2 MB / 462.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