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.001553/0.001553, allocations: 109.8 kB / 17.74 MB, free: 5.359 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.00184/0.00184, allocations: 181.5 kB / 18.66 MB, free: 4.445 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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 51.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2359, allocations: 49.44 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01362/0.2495, allocations: 12.88 MB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00853/0.2581, allocations: 4.253 MB / 418.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.2603, allocations: 79.75 kB / 418.6 MB, free: 7.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.2634, allocations: 0.9705 MB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004311/0.2677, allocations: 1.297 MB / 420.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.2701, allocations: 0.8413 MB / 421.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005373/0.2755, allocations: 4.016 MB / 425.8 MB, free: 476 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00448/0.28, allocations: 3.232 MB / 429 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.283, allocations: 1.889 MB / 430.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003505/0.2865, allocations: 2.125 MB / 433 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.2878, allocations: 0.5117 MB / 433.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.2899, allocations: 0.7107 MB / 434.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.2914, allocations: 1.138 MB / 435.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00349/0.2949, allocations: 2.124 MB / 437.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007911/0.3028, allocations: 6.754 MB / 444.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3029, allocations: 0 / 444.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3029, allocations: 0 / 444.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002061/0.3031, allocations: 0 / 444.2 MB, free: 13.86 MB / 366.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.01177/0.3149, allocations: 4.402 MB / 448.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3149, allocations: 12.03 kB / 448.7 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/0.3194, allocations: 0.8163 MB / 449.5 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004456/0.3238, allocations: 2.451 MB / 451.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.324, allocations: 234.6 kB / 452.1 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005403/0.3246, allocations: 320 kB / 452.5 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007161/0.3317, allocations: 4.258 MB / 456.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.159e-05/0.3318, allocations: 7.891 kB / 456.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/0.3321, allocations: 128 kB / 456.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.3323, allocations: 142.2 kB / 457 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005933/0.3382, allocations: 3.659 MB / 460.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0195/0.3577, allocations: 13.32 MB / 474 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006319/0.3641, allocations: 6.874 MB / 480.8 MB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/0.3664, allocations: 1.417 MB / 482.3 MB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005599/0.372, allocations: 3.639 MB / 485.9 MB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.372, allocations: 47.56 kB / 485.9 MB, free: 2.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 2.545e-06/0.3721, allocations: 0 / 485.9 MB, free: 2.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01271/0.3848, allocations: 6.637 MB / 492.6 MB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3848, allocations: 68.72 kB / 492.7 MB, free: 11.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.3873, allocations: 1.855 MB / 494.5 MB, free: 9.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.3875, allocations: 49.7 kB / 494.6 MB, free: 9.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008843/0.3884, allocations: 1.431 MB / 496 MB, free: 8.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/0.3887, allocations: 496.8 kB / 496.5 MB, free: 7.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/0.3892, allocations: 303.3 kB / 496.8 MB, free: 7.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.3893, allocations: 309.1 kB / 497.1 MB, free: 7.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.3904, allocations: 0.7613 MB / 497.8 MB, free: 6.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.3919, allocations: 1.224 MB / 499.1 MB, free: 5.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.3946, allocations: 2.104 MB / 0.4894 GB, free: 2.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.3946, allocations: 7.938 kB / 0.4894 GB, free: 2.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004347/0.399, allocations: 2.663 MB / 0.492 GB, free: 60 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.399, allocations: 15.94 kB / 0.492 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.3991, allocations: 12 kB / 0.492 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.4004, allocations: 0.5101 MB / 0.4925 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.4019, allocations: 379.4 kB / 0.4929 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008139/0.41, allocations: 6.923 MB / 0.4997 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.4115, allocations: 75.88 kB / 0.4997 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.4117, allocations: 79.86 kB / 0.4998 GB, free: 7.785 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.001638/0.4133, allocations: 1.046 MB / 0.5008 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.4137, allocations: 197.7 kB / 0.501 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.4178, allocations: 2.492 MB / 0.5035 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.4179, allocations: 16 kB / 0.5035 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.4179, allocations: 11.94 kB / 0.5035 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.4179, allocations: 7.969 kB / 0.5035 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00841/0.4263, allocations: 5.533 MB / 0.5089 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4264, allocations: 4 kB / 0.5089 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009846/0.4274, allocations: 211.7 kB / 0.5091 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.4286, allocations: 0.4942 MB / 0.5096 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/0.4287, allocations: 43.97 kB / 0.5096 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.4388, allocations: 11.42 MB / 0.5208 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4389, allocations: 4.031 kB / 0.5208 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005361/0.4442, allocations: 3.558 MB / 0.5243 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009067/0.4452, allocations: 458.6 kB / 0.5247 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.4455, allocations: 35.94 kB / 0.5247 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/0.4464, allocations: 67.94 kB / 0.5248 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.4467, allocations: 105.1 kB / 0.5249 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/0.4468, allocations: 47.98 kB / 0.5249 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001784/0.4486, allocations: 1.282 MB / 0.5262 GB, free: 11.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4486, allocations: 0 / 0.5262 GB, free: 11.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001948/0.4506, allocations: 0.5859 MB / 0.5268 GB, free: 11.16 MB / 462.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.0003211/0.4509, allocations: 171.1 kB / 0.5269 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004121/0.455, allocations: 2.403 MB / 0.5293 GB, free: 8.559 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.4551, allocations: 0 / 0.5293 GB, free: 8.559 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00261/0.4577, allocations: 1.735 MB / 0.531 GB, free: 6.762 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.4602, allocations: 0.5164 MB / 0.5315 GB, free: 6.254 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.4704, allocations: 5.889 MB / 0.5372 GB, free: 320 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1796/0.65, allocations: 2.317 MB / 0.5395 GB, free: 128.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/0.6508, allocations: 139.2 kB / 0.5396 GB, free: 128.7 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6508, allocations: 0 / 0.5396 GB, free: 128.7 MB / 462.1 MB Notification: Performance of Templates: time 0.07421/0.725, allocations: 97.7 MB / 0.635 GB, free: 41.09 MB / 462.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 -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