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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=30000,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=30000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 102 kB / 16.99 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001385, allocations: 201 kB / 17.89 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002239, allocations: 4 kB / 306.6 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09087, allocations: 51.5 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01124/0.1021, allocations: 10.87 MB / 369 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1755/0.2777, allocations: 4.246 MB / 373.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.28, allocations: 69.88 kB / 373.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.283, allocations: 0.7776 MB / 374 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.2877, allocations: 1.163 MB / 375.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.2896, allocations: 0.6044 MB / 375.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005868/0.2955, allocations: 2.814 MB / 378.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/0.2986, allocations: 2.227 MB / 380.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002558/0.3012, allocations: 1.243 MB / 382.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.3039, allocations: 1.484 MB / 383.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005444/0.3044, allocations: 204.2 kB / 383.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.3061, allocations: 393 kB / 384.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007179/0.3068, allocations: 0.7417 MB / 384.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.3079, allocations: 0.7415 MB / 385.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006185/0.3141, allocations: 5.522 MB / 391.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3141, allocations: 3.938 kB / 391.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3141, allocations: 0 / 391.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001165/0.3142, allocations: 0.9062 kB / 391.2 MB, free: 5.988 MB / 302.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.009592/0.3238, allocations: 3.778 MB / 395 MB, free: 3.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3239, allocations: 9.625 kB / 395 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004964/0.3288, allocations: 0.8539 MB / 395.8 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004863/0.3337, allocations: 2.336 MB / 398.2 MB, free: 2.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.3339, allocations: 231.7 kB / 398.4 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006404/0.3346, allocations: 320.4 kB / 398.7 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006864/0.3414, allocations: 4.211 MB / 402.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.437e-05/0.3415, allocations: 4 kB / 402.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.3418, allocations: 126.2 kB / 403 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/0.342, allocations: 142.2 kB / 403.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006822/0.3488, allocations: 3.663 MB / 406.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02544/0.3743, allocations: 13.59 MB / 420.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006234/0.3806, allocations: 6.871 MB / 427.3 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006406/0.387, allocations: 3.478 MB / 430.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.3871, allocations: 47.81 kB / 430.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=130): time 3.267e-06/0.3871, allocations: 0 / 430.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=150): time 0.01333/0.4004, allocations: 6.797 MB / 437.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.4005, allocations: 68.66 kB / 437.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/0.4035, allocations: 1.813 MB / 439.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.4037, allocations: 53.7 kB / 439.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009256/0.4046, allocations: 1.426 MB / 441 MB, free: 7.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.405, allocations: 0.507 MB / 441.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.4051, allocations: 36 kB / 441.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4053, allocations: 377.8 kB / 441.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.4066, allocations: 0.7808 MB / 442.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.4081, allocations: 1.223 MB / 443.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.4097, allocations: 0.9954 MB / 444.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.4097, allocations: 4 kB / 444.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00459/0.4143, allocations: 2.698 MB / 447.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.4143, allocations: 12 kB / 447.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.4144, allocations: 12 kB / 447.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.4157, allocations: 0.4978 MB / 448.1 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.4171, allocations: 395.4 kB / 448.5 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007797/0.425, allocations: 6.533 MB / 455 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.4271, allocations: 87.88 kB / 455.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/0.4274, allocations: 78.17 kB / 455.2 MB, free: 9.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (184): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002341/0.4298, allocations: 1.052 MB / 456.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005191/0.4303, allocations: 197.6 kB / 456.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/0.4349, allocations: 2.555 MB / 459 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.4349, allocations: 16 kB / 459 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.435, allocations: 4 kB / 459 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.435, allocations: 11.97 kB / 459 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.4452, allocations: 5.595 MB / 464.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.4452, allocations: 4 kB / 464.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.4463, allocations: 239.8 kB / 464.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.4475, allocations: 498.1 kB / 465.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.4477, allocations: 39.98 kB / 465.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.4577, allocations: 10.57 MB / 475.9 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4578, allocations: 0 / 475.9 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/0.4637, allocations: 3.753 MB / 479.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.465, allocations: 462.5 kB / 480.2 MB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000651/0.4657, allocations: 28 kB / 480.2 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.467, allocations: 83.84 kB / 480.3 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.4672, allocations: 105.1 kB / 480.4 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.4674, allocations: 43.98 kB / 480.4 MB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002262/0.4696, allocations: 1.253 MB / 481.7 MB, free: 13.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4696, allocations: 0 / 481.7 MB, free: 13.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002615/0.4723, allocations: 0.5898 MB / 482.3 MB, free: 13.01 MB / 398.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 (108): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003997/0.4727, allocations: 191 kB / 482.4 MB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004234/0.4769, allocations: 2.437 MB / 484.9 MB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4769, allocations: 4 kB / 484.9 MB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002591/0.4795, allocations: 1.758 MB / 486.6 MB, free: 8.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.4822, allocations: 0.4892 MB / 487.1 MB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.494, allocations: 7.199 MB / 494.3 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/0.4973, allocations: 2.437 MB / 496.8 MB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001937/0.4993, allocations: 425 kB / 497.2 MB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.4998, allocations: 127.4 kB / 497.3 MB, free: 13.81 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4998, allocations: 0 / 497.3 MB, free: 13.81 MB / 414.1 MB Notification: Performance of Templates: time 0.05267/0.5525, allocations: 28.66 MB / 0.5136 GB, free: 1.426 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (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) 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.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches