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.001383/0.001383, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001438/0.001438, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.412/1.412, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.001756/0.001756, allocations: 51.92 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2534, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01533/0.2687, allocations: 11.3 MB / 435.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009573/0.2783, allocations: 4.034 MB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.2805, allocations: 95.44 kB / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.2837, allocations: 0.963 MB / 440.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004691/0.2883, allocations: 1.328 MB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.2909, allocations: 0.8142 MB / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005713/0.2966, allocations: 4.028 MB / 446.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.2994, allocations: 1.709 MB / 448.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003034/0.3025, allocations: 1.936 MB / 450 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.3063, allocations: 2.035 MB / 452.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.3076, allocations: 0.5078 MB / 452.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.3096, allocations: 0.6833 MB / 453.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.3108, allocations: 1.149 MB / 454.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002649/0.3135, allocations: 1.68 MB / 456.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008622/0.3221, allocations: 6.79 MB / 462.9 MB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3221, allocations: 0 / 462.9 MB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3221, allocations: 0 / 462.9 MB, free: 7.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001972/0.3223, allocations: 0 / 462.9 MB, free: 7.203 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.0128/0.3351, allocations: 4.416 MB / 467.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3352, allocations: 8.031 kB / 467.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00459/0.3397, allocations: 0.83 MB / 468.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005903/0.3457, allocations: 2.408 MB / 470.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.3459, allocations: 230.6 kB / 470.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.3469, allocations: 328 kB / 471.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00875/0.3557, allocations: 4.401 MB / 475.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.821e-05/0.3558, allocations: 7.953 kB / 475.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003176/0.3561, allocations: 124 kB / 475.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/0.3563, allocations: 142.2 kB / 475.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00772/0.364, allocations: 3.663 MB / 479.4 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/0.3869, allocations: 11.44 MB / 490.9 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005285/0.3922, allocations: 2.569 MB / 493.4 MB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002522/0.3947, allocations: 1.312 MB / 494.8 MB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006527/0.4013, allocations: 2.995 MB / 497.8 MB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.4013, allocations: 47.56 kB / 497.8 MB, free: 3.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 4.418e-06/0.4013, allocations: 0 / 497.8 MB, free: 3.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.0143/0.4156, allocations: 6.064 MB / 0.4921 GB, free: 13.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.4157, allocations: 64.72 kB / 0.4921 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.4183, allocations: 1.662 MB / 0.4937 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.4185, allocations: 49.7 kB / 0.4938 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.4197, allocations: 1.477 MB / 0.4952 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004957/0.4202, allocations: 0.5113 MB / 0.4957 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004928/0.4207, allocations: 303.5 kB / 0.496 GB, free: 9.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4208, allocations: 305.1 kB / 0.4963 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.4221, allocations: 0.7613 MB / 0.497 GB, free: 8.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.4238, allocations: 1.257 MB / 0.4983 GB, free: 7.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.4268, allocations: 2.1 MB / 0.5003 GB, free: 4.828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.4268, allocations: 4 kB / 0.5003 GB, free: 4.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004744/0.4316, allocations: 2.641 MB / 0.5029 GB, free: 2.168 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.4316, allocations: 15.94 kB / 0.5029 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.4316, allocations: 12 kB / 0.5029 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.433, allocations: 0.5101 MB / 0.5034 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.4345, allocations: 383.4 kB / 0.5038 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008915/0.4434, allocations: 6.566 MB / 0.5102 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.4449, allocations: 72.08 kB / 0.5103 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.4451, allocations: 79.98 kB / 0.5104 GB, free: 10.33 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.001944/0.447, allocations: 1.048 MB / 0.5114 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/0.4475, allocations: 194.8 kB / 0.5116 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/0.4521, allocations: 2.316 MB / 0.5138 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.4521, allocations: 12 kB / 0.5138 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.4522, allocations: 11.94 kB / 0.5139 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.4522, allocations: 3.984 kB / 0.5139 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008921/0.4611, allocations: 4.607 MB / 0.5184 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.4611, allocations: 4 kB / 0.5184 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.4621, allocations: 219.9 kB / 0.5186 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.4634, allocations: 0.4958 MB / 0.5191 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.4635, allocations: 35.98 kB / 0.5191 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/0.4751, allocations: 10.68 MB / 0.5295 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.4751, allocations: 11.97 kB / 0.5295 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00622/0.4813, allocations: 3.381 MB / 0.5328 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.4826, allocations: 366.7 kB / 0.5332 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.4829, allocations: 32 kB / 0.5332 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009006/0.4838, allocations: 75.88 kB / 0.5333 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/0.4841, allocations: 113.1 kB / 0.5334 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.87e-05/0.4842, allocations: 35.98 kB / 0.5334 GB, free: 2.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001874/0.4861, allocations: 1.129 MB / 0.5345 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4861, allocations: 0 / 0.5345 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002257/0.4883, allocations: 0.582 MB / 0.5351 GB, free: 316 kB / 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.0003738/0.4887, allocations: 171 kB / 0.5353 GB, free: 136 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1939/0.6826, allocations: 2.306 MB / 0.5375 GB, free: 108.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6826, allocations: 8.875 kB / 0.5375 GB, free: 108.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.6849, allocations: 1.656 MB / 0.5391 GB, free: 108.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.687, allocations: 429.6 kB / 0.5395 GB, free: 108.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008755/0.6957, allocations: 6.006 MB / 0.5454 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.6973, allocations: 1.757 MB / 0.5471 GB, free: 104.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/0.6978, allocations: 134 kB / 0.5472 GB, free: 104.7 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6978, allocations: 0 / 0.5472 GB, free: 104.7 MB / 446.1 MB Notification: Performance of Templates: time 0.07063/0.7684, allocations: 97.37 MB / 0.6423 GB, free: 9.004 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/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: 12.629271820187569]