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.001882/0.001882, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002221/0.002221, allocations: 212.5 kB / 23.73 MB, free: 4.16 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.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.002053/0.002053, allocations: 63.89 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2622, allocations: 53.41 MB / 431.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01552/0.2777, allocations: 11.84 MB / 443.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008908/0.2866, allocations: 4.303 MB / 447.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.288, allocations: 95.44 kB / 447.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.2903, allocations: 0.9785 MB / 448.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.2934, allocations: 1.309 MB / 450.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.2952, allocations: 0.8713 MB / 451 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004437/0.2996, allocations: 4.081 MB / 455.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.302, allocations: 1.703 MB / 456.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.3046, allocations: 1.959 MB / 458.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00314/0.3077, allocations: 2.152 MB / 460.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006737/0.3084, allocations: 0.5078 MB / 461.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.3097, allocations: 0.7107 MB / 462.2 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.3108, allocations: 1.149 MB / 463.3 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.3126, allocations: 1.681 MB / 465 MB, free: 5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007059/0.3196, allocations: 6.839 MB / 471.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3196, allocations: 7.938 kB / 471.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3196, allocations: 0 / 471.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.562e-05/0.3197, allocations: 0 / 471.8 MB, free: 14.13 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.0104/0.3301, allocations: 4.447 MB / 476.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3302, allocations: 11.98 kB / 476.3 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/0.3345, allocations: 0.8456 MB / 477.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/0.3394, allocations: 2.44 MB / 479.6 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.3396, allocations: 230.6 kB / 479.8 MB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000508/0.3401, allocations: 323.9 kB / 480.1 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007525/0.3476, allocations: 4.416 MB / 484.5 MB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.753e-05/0.3477, allocations: 11.95 kB / 484.5 MB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/0.348, allocations: 124 kB / 484.7 MB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.3482, allocations: 146.2 kB / 484.8 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006675/0.3549, allocations: 3.663 MB / 488.5 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01999/0.3749, allocations: 11.45 MB / 499.9 MB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005107/0.38, allocations: 2.599 MB / 0.4907 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/0.3823, allocations: 1.293 MB / 0.492 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006237/0.3885, allocations: 3.049 MB / 0.495 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.3886, allocations: 51.56 kB / 0.495 GB, free: 10.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.096e-06/0.3886, allocations: 0 / 0.495 GB, free: 10.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01345/0.402, allocations: 6.068 MB / 0.501 GB, free: 4.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.4021, allocations: 68.72 kB / 0.501 GB, free: 4.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.4046, allocations: 1.695 MB / 0.5027 GB, free: 2.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.4047, allocations: 49.7 kB / 0.5027 GB, free: 2.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.4059, allocations: 1.489 MB / 0.5042 GB, free: 1.148 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/0.4063, allocations: 0.5112 MB / 0.5047 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004855/0.4068, allocations: 307.5 kB / 0.505 GB, free: 336 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4069, allocations: 301.1 kB / 0.5053 GB, free: 32 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.4082, allocations: 0.7652 MB / 0.506 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.4099, allocations: 1.253 MB / 0.5072 GB, free: 13.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/0.413, allocations: 2.108 MB / 0.5093 GB, free: 11.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/0.413, allocations: 4 kB / 0.5093 GB, free: 11.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004827/0.4178, allocations: 2.649 MB / 0.5119 GB, free: 8.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.4178, allocations: 12 kB / 0.5119 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.4179, allocations: 15.94 kB / 0.5119 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.4193, allocations: 0.5056 MB / 0.5124 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.4207, allocations: 387.4 kB / 0.5128 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008995/0.4297, allocations: 6.557 MB / 0.5192 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.4312, allocations: 75.91 kB / 0.5192 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.4313, allocations: 71.94 kB / 0.5193 GB, free: 1.023 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.001858/0.4331, allocations: 1.059 MB / 0.5203 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.4335, allocations: 194.9 kB / 0.5205 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.4379, allocations: 2.321 MB / 0.5228 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4379, allocations: 12 kB / 0.5228 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.4379, allocations: 11.98 kB / 0.5228 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4379, allocations: 3.984 kB / 0.5228 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/0.4462, allocations: 4.624 MB / 0.5273 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4462, allocations: 0 / 0.5273 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/0.4472, allocations: 219.8 kB / 0.5276 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.4485, allocations: 0.5031 MB / 0.528 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.4486, allocations: 39.98 kB / 0.5281 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.213/0.6615, allocations: 10.66 MB / 0.5385 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6615, allocations: 2.656 kB / 0.5385 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005415/0.667, allocations: 3.405 MB / 0.5418 GB, free: 95.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.668, allocations: 373.7 kB / 0.5422 GB, free: 95.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.6682, allocations: 30.38 kB / 0.5422 GB, free: 95.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008842/0.6691, allocations: 66.2 kB / 0.5423 GB, free: 95.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/0.6694, allocations: 121.4 kB / 0.5424 GB, free: 95.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-05/0.6695, allocations: 48.8 kB / 0.5424 GB, free: 95.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001618/0.6711, allocations: 1.146 MB / 0.5436 GB, free: 95.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6711, allocations: 3.969 kB / 0.5436 GB, free: 95.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001822/0.673, allocations: 0.5831 MB / 0.5441 GB, free: 95.2 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.0002743/0.6732, allocations: 162.1 kB / 0.5443 GB, free: 95.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003501/0.6767, allocations: 2.321 MB / 0.5465 GB, free: 94.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6767, allocations: 2.031 kB / 0.5465 GB, free: 94.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.6788, allocations: 1.667 MB / 0.5482 GB, free: 93.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.6805, allocations: 433.5 kB / 0.5486 GB, free: 92.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008483/0.689, allocations: 6.036 MB / 0.5545 GB, free: 88.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.6905, allocations: 1.819 MB / 0.5563 GB, free: 87.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.6916, allocations: 400.9 kB / 0.5566 GB, free: 87.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.6919, allocations: 122 kB / 0.5568 GB, free: 87.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6919, allocations: 0 / 0.5568 GB, free: 87.14 MB / 446.1 MB Notification: Performance of Templates: time 0.04104/0.733, allocations: 32.77 MB / 0.5888 GB, free: 55.56 MB / 446.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/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_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: 6.102549498900771]