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.001408/0.001408, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.001681, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 59.97 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09803, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1876/0.2857, allocations: 13.5 MB / 372.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009491/0.2952, allocations: 4.542 MB / 377 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.2983, allocations: 77.91 kB / 377 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00398/0.3023, allocations: 0.99 MB / 378 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.308, allocations: 1.27 MB / 379.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.3111, allocations: 0.8983 MB / 380.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006554/0.3176, allocations: 4.067 MB / 384.3 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005676/0.3233, allocations: 3.251 MB / 387.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00384/0.3272, allocations: 1.89 MB / 389.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004574/0.3318, allocations: 2.249 MB / 391.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001759/0.3336, allocations: 0.5124 MB / 392.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.337, allocations: 0.7254 MB / 392.9 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002326/0.3394, allocations: 1.14 MB / 394 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004778/0.3442, allocations: 2.136 MB / 396.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008363/0.3526, allocations: 6.787 MB / 402.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3526, allocations: 3.984 kB / 402.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3526, allocations: 3.938 kB / 403 MB, free: 13.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002416/0.3529, allocations: 0 / 403 MB, free: 13.27 MB / 318.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.01232/0.3652, allocations: 4.446 MB / 407.4 MB, free: 9.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3652, allocations: 8.031 kB / 407.4 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/0.3697, allocations: 0.8446 MB / 408.2 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00514/0.3749, allocations: 2.498 MB / 410.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.3751, allocations: 230.8 kB / 411 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006492/0.3758, allocations: 327 kB / 411.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008307/0.3841, allocations: 4.248 MB / 415.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.698e-05/0.3842, allocations: 0 / 415.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003059/0.3845, allocations: 130.7 kB / 415.7 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/0.3847, allocations: 146.2 kB / 415.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00682/0.3915, allocations: 3.663 MB / 419.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02167/0.4132, allocations: 13.4 MB / 432.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006806/0.4201, allocations: 6.887 MB / 439.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002891/0.423, allocations: 1.423 MB / 441.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00662/0.4296, allocations: 3.866 MB / 445 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.4297, allocations: 51.56 kB / 445.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 4.679e-06/0.4297, allocations: 3.984 kB / 445.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01338/0.4431, allocations: 6.649 MB / 451.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.4432, allocations: 64.72 kB / 451.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002746/0.446, allocations: 1.884 MB / 453.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.4461, allocations: 49.7 kB / 453.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.4471, allocations: 1.441 MB / 455.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.4475, allocations: 499.7 kB / 455.7 MB, free: 7.711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004614/0.4479, allocations: 307.3 kB / 456 MB, free: 7.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.448, allocations: 301.1 kB / 456.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.4492, allocations: 0.769 MB / 457 MB, free: 6.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.4507, allocations: 1.22 MB / 458.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.4534, allocations: 2.108 MB / 460.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4534, allocations: 8 kB / 460.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004306/0.4577, allocations: 2.665 MB / 463 MB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4577, allocations: 11.94 kB / 463.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.4578, allocations: 16 kB / 463.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.4591, allocations: 0.502 MB / 463.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.4605, allocations: 383.4 kB / 463.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008131/0.4686, allocations: 6.912 MB / 470.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.47, allocations: 79.86 kB / 470.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.4701, allocations: 71.94 kB / 471 MB, free: 7.699 MB / 382.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.001646/0.4717, allocations: 1.056 MB / 472.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.472, allocations: 197.6 kB / 472.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.4762, allocations: 2.504 MB / 474.8 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.4762, allocations: 12 kB / 474.8 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4762, allocations: 11.94 kB / 474.8 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.4762, allocations: 3.984 kB / 474.8 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00827/0.4845, allocations: 5.546 MB / 480.3 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4845, allocations: 0 / 480.3 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/0.4855, allocations: 211.7 kB / 480.5 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.4868, allocations: 0.4991 MB / 481 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.931e-05/0.4869, allocations: 39.92 kB / 481.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.4978, allocations: 11.43 MB / 492.5 MB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4978, allocations: 4.031 kB / 492.5 MB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/0.5035, allocations: 3.566 MB / 496.1 MB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.5047, allocations: 454.6 kB / 496.5 MB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.5049, allocations: 32 kB / 496.5 MB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008842/0.5058, allocations: 63.94 kB / 496.6 MB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.5061, allocations: 115.2 kB / 496.7 MB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.295e-05/0.5062, allocations: 47.98 kB / 496.8 MB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001887/0.5081, allocations: 1.302 MB / 498.1 MB, free: 11.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.5081, allocations: 0 / 498.1 MB, free: 11.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001929/0.51, allocations: 0.5897 MB / 498.7 MB, free: 11.06 MB / 414.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.0003269/0.5104, allocations: 173.4 kB / 498.8 MB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.5145, allocations: 2.399 MB / 0.4895 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5145, allocations: 4 kB / 0.4895 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002519/0.517, allocations: 1.72 MB / 0.4912 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.5191, allocations: 0.5249 MB / 0.4917 GB, free: 6.152 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009754/0.5289, allocations: 5.966 MB / 0.4975 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/0.5311, allocations: 2.384 MB / 0.4998 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001287/0.5324, allocations: 417 kB / 0.5002 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.5328, allocations: 127.4 kB / 0.5003 GB, free: 13.21 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5328, allocations: 4 kB / 0.5004 GB, free: 13.2 MB / 430.1 MB Notification: Performance of Templates: time 0.2096/0.7424, allocations: 31.23 MB / 0.5309 GB, free: 143.7 MB / 446.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 -s cvode -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/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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches