Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00235/0.00235, allocations: 211.9 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.5 MB / 258.2 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003154/0.003154, allocations: 63.91 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2687, allocations: 53.41 MB / 432.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01672/0.2854, allocations: 13.63 MB / 446.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009752/0.2952, allocations: 4.569 MB / 450.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002855/0.298, allocations: 95.44 kB / 450.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003518/0.3016, allocations: 1.033 MB / 451.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.3066, allocations: 1.336 MB / 453.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.3095, allocations: 0.9055 MB / 454 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006477/0.316, allocations: 4.089 MB / 458.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003617/0.3196, allocations: 1.788 MB / 459.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/0.3232, allocations: 1.943 MB / 461.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004413/0.3276, allocations: 2.281 MB / 464.1 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001565/0.3292, allocations: 0.5078 MB / 464.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.3318, allocations: 0.7418 MB / 465.4 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.3338, allocations: 1.141 MB / 466.5 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004605/0.3384, allocations: 2.132 MB / 468.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.3498, allocations: 6.813 MB / 475.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3498, allocations: 0 / 475.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3498, allocations: 0 / 475.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000235/0.3501, allocations: 0 / 475.5 MB, free: 11.52 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.01487/0.3649, allocations: 4.461 MB / 479.9 MB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.365, allocations: 12.02 kB / 479.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/0.3702, allocations: 0.8417 MB / 480.8 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0063/0.3765, allocations: 2.459 MB / 483.2 MB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.3768, allocations: 234.6 kB / 483.5 MB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.3779, allocations: 319.9 kB / 483.8 MB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.3885, allocations: 4.273 MB / 488 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.3886, allocations: 3.953 kB / 488.1 MB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006709/0.3893, allocations: 124 kB / 488.2 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.3895, allocations: 146.2 kB / 488.3 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007889/0.3974, allocations: 3.671 MB / 492 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02704/0.4244, allocations: 13.11 MB / 0.4933 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005681/0.4301, allocations: 2.611 MB / 0.4958 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/0.4328, allocations: 1.3 MB / 0.4971 GB, free: 9.566 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007988/0.4408, allocations: 3.422 MB / 0.5004 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.4408, allocations: 47.55 kB / 0.5005 GB, free: 6.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 4.459e-06/0.4408, allocations: 4 kB / 0.5005 GB, free: 6.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01466/0.4555, allocations: 6.076 MB / 0.5064 GB, free: 15.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.4555, allocations: 64.72 kB / 0.5065 GB, free: 15.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/0.4591, allocations: 1.896 MB / 0.5083 GB, free: 13.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002312/0.4593, allocations: 49.7 kB / 0.5084 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.4605, allocations: 1.479 MB / 0.5098 GB, free: 12.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/0.4611, allocations: 0.5112 MB / 0.5103 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006066/0.4617, allocations: 307.5 kB / 0.5106 GB, free: 11.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4619, allocations: 305.1 kB / 0.5109 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.4633, allocations: 0.7574 MB / 0.5116 GB, free: 10.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.4651, allocations: 1.236 MB / 0.5128 GB, free: 9.113 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.4684, allocations: 2.108 MB / 0.5149 GB, free: 6.816 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/0.4684, allocations: 4 kB / 0.5149 GB, free: 6.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005416/0.4739, allocations: 2.66 MB / 0.5175 GB, free: 4.137 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.4739, allocations: 15.94 kB / 0.5175 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/0.4739, allocations: 12 kB / 0.5175 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.4754, allocations: 0.5016 MB / 0.518 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.4771, allocations: 387.4 kB / 0.5184 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009918/0.487, allocations: 6.727 MB / 0.525 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.4886, allocations: 76.03 kB / 0.525 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002869/0.4889, allocations: 79.92 kB / 0.5251 GB, free: 12.11 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.002191/0.4911, allocations: 1.059 MB / 0.5261 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006283/0.4918, allocations: 206.7 kB / 0.5263 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00484/0.4966, allocations: 2.338 MB / 0.5286 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.4966, allocations: 12 kB / 0.5286 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.701e-05/0.4966, allocations: 15.92 kB / 0.5286 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.4967, allocations: 3.984 kB / 0.5286 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.5067, allocations: 5.347 MB / 0.5339 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5067, allocations: 4.188 kB / 0.5339 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.5078, allocations: 223.7 kB / 0.5341 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.5091, allocations: 0.4958 MB / 0.5346 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.5092, allocations: 39.98 kB / 0.5346 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2504/0.7597, allocations: 10.89 MB / 0.5452 GB, free: 91.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7597, allocations: 12.28 kB / 0.5453 GB, free: 91.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005293/0.765, allocations: 3.408 MB / 0.5486 GB, free: 90.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.7661, allocations: 400.7 kB / 0.549 GB, free: 90.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.7664, allocations: 28.34 kB / 0.549 GB, free: 90.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/0.7673, allocations: 79.64 kB / 0.5491 GB, free: 90.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.7676, allocations: 115.8 kB / 0.5492 GB, free: 90.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/0.7677, allocations: 43.25 kB / 0.5492 GB, free: 90.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.7693, allocations: 1.303 MB / 0.5505 GB, free: 89.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7693, allocations: 0 / 0.5505 GB, free: 89.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001936/0.7713, allocations: 0.5996 MB / 0.5511 GB, free: 89.75 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.0003354/0.7716, allocations: 165 kB / 0.5512 GB, free: 89.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003466/0.7751, allocations: 2.311 MB / 0.5535 GB, free: 88.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7751, allocations: 7.688 kB / 0.5535 GB, free: 88.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.7771, allocations: 1.665 MB / 0.5551 GB, free: 87.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.7794, allocations: 0.5285 MB / 0.5556 GB, free: 87.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009002/0.7884, allocations: 6.042 MB / 0.5615 GB, free: 84.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.7899, allocations: 2.319 MB / 0.5638 GB, free: 82.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.7905, allocations: 149 kB / 0.564 GB, free: 82.13 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.7905, allocations: 4 kB / 0.564 GB, free: 82.13 MB / 446.1 MB Notification: Performance of Templates: time 0.08204/0.8726, allocations: 99.07 MB / 0.6607 GB, free: 15.47 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.704420747002587]