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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=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_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=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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 114.1 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009714/0.0009715, allocations: 44.16 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08165/0.08264, allocations: 49.44 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01286/0.09553, allocations: 12.87 MB / 364.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006707/0.1023, allocations: 4.275 MB / 368.7 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009649/0.1033, allocations: 71.75 kB / 368.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.1052, allocations: 0.9824 MB / 369.7 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.1079, allocations: 1.289 MB / 371 MB, free: 108 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1437/0.2516, allocations: 0.8286 MB / 371.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004744/0.2564, allocations: 4.014 MB / 375.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.2597, allocations: 3.246 MB / 379.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.2623, allocations: 1.883 MB / 381 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.2647, allocations: 2.114 MB / 383.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007003/0.2654, allocations: 0.5096 MB / 383.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.2668, allocations: 0.7189 MB / 384.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008604/0.2677, allocations: 1.137 MB / 385.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.27, allocations: 2.122 MB / 387.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005612/0.2756, allocations: 6.753 MB / 394.3 MB, free: 3.992 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2756, allocations: 1.25 kB / 394.3 MB, free: 3.992 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2756, allocations: 0 / 394.3 MB, free: 3.992 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001254/0.2758, allocations: 0 / 394.3 MB, free: 3.992 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.01004/0.2858, allocations: 4.389 MB / 398.7 MB, free: 1.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.2859, allocations: 17.75 kB / 398.7 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00403/0.2899, allocations: 0.8155 MB / 399.6 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/0.2942, allocations: 2.463 MB / 402 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.2944, allocations: 234.6 kB / 402.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004676/0.2949, allocations: 316.5 kB / 402.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006651/0.3016, allocations: 4.26 MB / 406.8 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.668e-05/0.3016, allocations: 11.89 kB / 406.8 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000307/0.3019, allocations: 124 kB / 407 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.3021, allocations: 142.2 kB / 407.1 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005769/0.3079, allocations: 3.662 MB / 410.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01907/0.3269, allocations: 13.31 MB / 424.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006402/0.3334, allocations: 6.874 MB / 430.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.3355, allocations: 1.409 MB / 432.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005737/0.3413, allocations: 3.635 MB / 436 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.3413, allocations: 43.56 kB / 436 MB, free: 11.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 2.605e-06/0.3413, allocations: 0 / 436 MB, free: 11.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01285/0.3542, allocations: 6.646 MB / 442.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3543, allocations: 64.72 kB / 442.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/0.3569, allocations: 1.859 MB / 444.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.357, allocations: 49.7 kB / 444.6 MB, free: 2.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009085/0.3579, allocations: 1.423 MB / 446.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.3583, allocations: 492.8 kB / 446.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004654/0.3587, allocations: 307.3 kB / 446.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.3588, allocations: 304.4 kB / 447.1 MB, free: 376 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.36, allocations: 0.7613 MB / 447.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.3615, allocations: 1.227 MB / 449.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.3642, allocations: 2.105 MB / 451.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3642, allocations: 4 kB / 451.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004423/0.3687, allocations: 2.658 MB / 453.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.3687, allocations: 15.98 kB / 453.9 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.3687, allocations: 15.94 kB / 453.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.3701, allocations: 0.5062 MB / 454.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.3715, allocations: 387.4 kB / 454.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008021/0.3796, allocations: 6.923 MB / 461.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.3811, allocations: 84.02 kB / 461.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.3812, allocations: 72 kB / 461.9 MB, free: 1.02 MB / 366.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.001676/0.3829, allocations: 1.052 MB / 462.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.3833, allocations: 193.7 kB / 463.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/0.3874, allocations: 2.492 MB / 465.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.3874, allocations: 16 kB / 465.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3874, allocations: 8 kB / 465.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.3874, allocations: 11.91 kB / 465.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008507/0.3959, allocations: 5.53 MB / 471.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.396, allocations: 0 / 471.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.397, allocations: 223.9 kB / 471.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.3983, allocations: 0.4958 MB / 471.9 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.581e-05/0.3984, allocations: 32 kB / 471.9 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.4085, allocations: 11.43 MB / 483.4 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4086, allocations: 3.938 kB / 483.4 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/0.414, allocations: 3.571 MB / 486.9 MB, free: 7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.4151, allocations: 458.6 kB / 487.4 MB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.4154, allocations: 31.98 kB / 487.4 MB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009082/0.4163, allocations: 67.95 kB / 487.5 MB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.4165, allocations: 113 kB / 487.6 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/0.4166, allocations: 43.98 kB / 487.6 MB, free: 6.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001774/0.4184, allocations: 1.286 MB / 488.9 MB, free: 5.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4184, allocations: 0 / 488.9 MB, free: 5.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001884/0.4203, allocations: 0.582 MB / 489.5 MB, free: 4.422 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 (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.0002875/0.4206, allocations: 170.7 kB / 489.7 MB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003779/0.4244, allocations: 2.397 MB / 492.1 MB, free: 1.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4244, allocations: 0 / 492.1 MB, free: 1.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002402/0.4268, allocations: 1.727 MB / 493.8 MB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.4289, allocations: 0.5156 MB / 494.3 MB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008983/0.4379, allocations: 5.918 MB / 0.4885 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/0.4399, allocations: 2.363 MB / 0.4908 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001226/0.4411, allocations: 420.8 kB / 0.4912 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.4414, allocations: 131.4 kB / 0.4913 GB, free: 6.633 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4415, allocations: 3.938 kB / 0.4913 GB, free: 6.629 MB / 414.1 MB Notification: Performance of Templates: time 0.04779/0.4892, allocations: 30.93 MB / 0.5215 GB, free: 8.059 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) 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) Reference file matches