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.001254/0.001253, allocations: 108.3 kB / 17.74 MB, free: 5.305 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.001273/0.001273, allocations: 183 kB / 18.67 MB, free: 4.383 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.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009629/0.000963, allocations: 43.92 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2439, allocations: 49.42 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01287/0.2568, allocations: 12.88 MB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007315/0.2642, allocations: 4.263 MB / 418.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.266, allocations: 75.75 kB / 418.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.2683, allocations: 0.9746 MB / 419.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.2719, allocations: 1.297 MB / 420.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.2737, allocations: 0.8335 MB / 421.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004235/0.278, allocations: 4.017 MB / 425.8 MB, free: 432 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003353/0.2813, allocations: 3.232 MB / 429 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.284, allocations: 1.893 MB / 430.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/0.2867, allocations: 2.125 MB / 433 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006384/0.2873, allocations: 0.5078 MB / 433.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.2886, allocations: 0.7068 MB / 434.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008442/0.2894, allocations: 1.141 MB / 435.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001981/0.2914, allocations: 2.124 MB / 437.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005736/0.2972, allocations: 6.751 MB / 444.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2972, allocations: 3.984 kB / 444.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2972, allocations: 0 / 444.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.514e-05/0.2973, allocations: 0 / 444.2 MB, free: 13.82 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.00956/0.3069, allocations: 4.405 MB / 448.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3069, allocations: 8.031 kB / 448.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003914/0.3108, allocations: 0.8124 MB / 449.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003849/0.3147, allocations: 2.459 MB / 451.9 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.3149, allocations: 230.6 kB / 452.1 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000472/0.3154, allocations: 320 kB / 452.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006626/0.322, allocations: 4.258 MB / 456.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.223e-05/0.3221, allocations: 3.906 kB / 456.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.3224, allocations: 128 kB / 456.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.3225, allocations: 142.2 kB / 457 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005751/0.3283, allocations: 3.667 MB / 460.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02087/0.3491, allocations: 13.32 MB / 474 MB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006244/0.3554, allocations: 6.874 MB / 480.9 MB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002351/0.3578, allocations: 1.417 MB / 482.3 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006202/0.3641, allocations: 3.631 MB / 485.9 MB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.3641, allocations: 51.55 kB / 485.9 MB, free: 2.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 3.306e-06/0.3641, allocations: 0 / 485.9 MB, free: 2.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01335/0.3775, allocations: 6.633 MB / 492.6 MB, free: 11.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.3776, allocations: 72.7 kB / 492.7 MB, free: 11.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/0.3808, allocations: 1.855 MB / 494.5 MB, free: 9.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.381, allocations: 49.7 kB / 494.6 MB, free: 9.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009838/0.382, allocations: 1.427 MB / 496 MB, free: 8.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004675/0.3824, allocations: 0.4929 MB / 496.5 MB, free: 7.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005253/0.383, allocations: 303.3 kB / 496.8 MB, free: 7.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.3831, allocations: 305.1 kB / 497.1 MB, free: 7.172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.3843, allocations: 0.7574 MB / 497.8 MB, free: 6.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.3858, allocations: 1.228 MB / 499.1 MB, free: 4.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.3886, allocations: 2.104 MB / 0.4894 GB, free: 2.703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.3887, allocations: 4 kB / 0.4894 GB, free: 2.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004556/0.3932, allocations: 2.659 MB / 0.492 GB, free: 24 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.3933, allocations: 20.22 kB / 0.492 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-05/0.3933, allocations: 12.05 kB / 0.492 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.3947, allocations: 0.5059 MB / 0.4925 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.3962, allocations: 383.4 kB / 0.4929 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008186/0.4044, allocations: 6.923 MB / 0.4997 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.4059, allocations: 79.86 kB / 0.4997 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.4061, allocations: 75.92 kB / 0.4998 GB, free: 7.746 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.001847/0.408, allocations: 1.044 MB / 0.5008 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/0.4085, allocations: 193.6 kB / 0.501 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004277/0.4128, allocations: 2.496 MB / 0.5035 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.4128, allocations: 19.94 kB / 0.5035 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.4129, allocations: 11.94 kB / 0.5035 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.4129, allocations: 7.969 kB / 0.5035 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009187/0.4221, allocations: 5.533 MB / 0.5089 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.4221, allocations: 4 kB / 0.5089 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009899/0.4231, allocations: 215.7 kB / 0.5091 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.4245, allocations: 0.4959 MB / 0.5096 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.4247, allocations: 35.98 kB / 0.5096 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.4353, allocations: 11.43 MB / 0.5208 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4353, allocations: 4.031 kB / 0.5208 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/0.4411, allocations: 3.57 MB / 0.5243 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.4421, allocations: 458.6 kB / 0.5247 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004507/0.4426, allocations: 32 kB / 0.5247 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.4437, allocations: 63.94 kB / 0.5248 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/0.4441, allocations: 113.1 kB / 0.5249 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.86e-05/0.4442, allocations: 43.92 kB / 0.525 GB, free: 12.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002291/0.4465, allocations: 1.286 MB / 0.5262 GB, free: 11.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4465, allocations: 0 / 0.5262 GB, free: 11.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002216/0.4487, allocations: 0.5859 MB / 0.5268 GB, free: 11.1 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.0003684/0.4491, allocations: 165.4 kB / 0.5269 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004107/0.4532, allocations: 2.395 MB / 0.5293 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4532, allocations: 0 / 0.5293 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002539/0.4558, allocations: 1.731 MB / 0.531 GB, free: 6.723 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.4583, allocations: 0.5169 MB / 0.5315 GB, free: 6.211 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.4691, allocations: 5.893 MB / 0.5372 GB, free: 272 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1976/0.6667, allocations: 2.313 MB / 0.5395 GB, free: 128.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/0.6674, allocations: 143.5 kB / 0.5396 GB, free: 128.6 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6674, allocations: 0.5312 kB / 0.5396 GB, free: 128.6 MB / 462.1 MB Notification: Performance of Templates: time 0.08048/0.7479, allocations: 98.09 MB / 0.6354 GB, free: 40.67 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