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.001096/0.001096, allocations: 112.6 kB / 17.06 MB, free: 6.016 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.0009897/0.0009897, allocations: 191.9 kB / 18 MB, free: 5.098 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.298/1.298, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008954/0.0008954, allocations: 43.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2718, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01377/0.2856, allocations: 12.88 MB / 413.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00795/0.2936, allocations: 4.255 MB / 417.9 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.2954, allocations: 75.69 kB / 417.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.2978, allocations: 0.9784 MB / 418.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.3011, allocations: 1.297 MB / 420.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.3028, allocations: 0.8412 MB / 421.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004705/0.3075, allocations: 4.01 MB / 425.1 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003435/0.311, allocations: 3.24 MB / 428.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.3134, allocations: 1.877 MB / 430.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.3163, allocations: 2.125 MB / 432.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007183/0.317, allocations: 0.5078 MB / 432.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.3183, allocations: 0.7106 MB / 433.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009176/0.3192, allocations: 1.134 MB / 434.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.3214, allocations: 2.132 MB / 436.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006887/0.3283, allocations: 6.77 MB / 443.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3283, allocations: 0 / 443.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3284, allocations: 0 / 443.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001239/0.3285, allocations: 0 / 443.6 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.01017/0.3387, allocations: 4.487 MB / 448.1 MB, free: 9.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3387, allocations: 12.03 kB / 448.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004219/0.3429, allocations: 0.83 MB / 448.9 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/0.347, allocations: 2.476 MB / 451.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.3472, allocations: 234.6 kB / 451.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004949/0.3477, allocations: 324 kB / 451.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007347/0.355, allocations: 4.254 MB / 456.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.816e-05/0.3551, allocations: 7.953 kB / 456.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.3555, allocations: 124 kB / 456.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.3556, allocations: 146.2 kB / 456.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00618/0.3618, allocations: 3.663 MB / 460.1 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02175/0.3836, allocations: 13.36 MB / 473.5 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00658/0.3902, allocations: 6.882 MB / 480.3 MB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002354/0.3926, allocations: 1.41 MB / 481.8 MB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006224/0.3989, allocations: 3.632 MB / 485.4 MB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3989, allocations: 43.56 kB / 485.4 MB, free: 2.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 3.126e-06/0.399, allocations: 8 kB / 485.4 MB, free: 2.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01337/0.4123, allocations: 6.685 MB / 492.1 MB, free: 11.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.4124, allocations: 72.72 kB / 492.2 MB, free: 11.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/0.4154, allocations: 1.855 MB / 494 MB, free: 9.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.4155, allocations: 53.64 kB / 494.1 MB, free: 9.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009661/0.4165, allocations: 1.459 MB / 495.6 MB, free: 8.043 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.4169, allocations: 0.5151 MB / 496.1 MB, free: 7.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004706/0.4173, allocations: 303.5 kB / 496.4 MB, free: 7.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.4174, allocations: 301.1 kB / 496.7 MB, free: 6.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.4187, allocations: 0.7652 MB / 497.4 MB, free: 6.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.4202, allocations: 1.224 MB / 498.7 MB, free: 4.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/0.423, allocations: 2.108 MB / 0.489 GB, free: 2.449 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.423, allocations: 4 kB / 0.489 GB, free: 2.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004541/0.4275, allocations: 2.672 MB / 0.4916 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.4276, allocations: 11.94 kB / 0.4916 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.4276, allocations: 19.94 kB / 0.4917 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.429, allocations: 0.4984 MB / 0.4922 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.4304, allocations: 391.4 kB / 0.4925 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008256/0.4387, allocations: 6.927 MB / 0.4993 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4401, allocations: 84.06 kB / 0.4994 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.4403, allocations: 71.92 kB / 0.4994 GB, free: 7.477 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.001733/0.442, allocations: 1.048 MB / 0.5005 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/0.4425, allocations: 198.7 kB / 0.5007 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.4471, allocations: 2.5 MB / 0.5031 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.4471, allocations: 16 kB / 0.5031 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/0.4472, allocations: 7.938 kB / 0.5031 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.4472, allocations: 11.97 kB / 0.5031 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009233/0.4564, allocations: 5.529 MB / 0.5085 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.4565, allocations: 4 kB / 0.5085 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00099/0.4575, allocations: 219.9 kB / 0.5087 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.4588, allocations: 0.4918 MB / 0.5092 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.4589, allocations: 35.98 kB / 0.5093 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/0.4699, allocations: 11.43 MB / 0.5204 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.4699, allocations: 11.97 kB / 0.5204 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/0.4756, allocations: 3.575 MB / 0.5239 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.4767, allocations: 463.7 kB / 0.5244 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004177/0.4771, allocations: 32 kB / 0.5244 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.4782, allocations: 72.31 kB / 0.5245 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.4785, allocations: 109 kB / 0.5246 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.4786, allocations: 43.98 kB / 0.5246 GB, free: 12.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002258/0.4809, allocations: 1.282 MB / 0.5259 GB, free: 11.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4809, allocations: 3.938 kB / 0.5259 GB, free: 11.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002088/0.483, allocations: 0.5898 MB / 0.5264 GB, free: 10.8 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.0003784/0.4834, allocations: 169.2 kB / 0.5266 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004189/0.4876, allocations: 2.41 MB / 0.529 GB, free: 8.199 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4876, allocations: 4 kB / 0.529 GB, free: 8.195 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002557/0.4902, allocations: 1.731 MB / 0.5306 GB, free: 6.402 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.4925, allocations: 0.508 MB / 0.5311 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2187/0.7113, allocations: 6.014 MB / 0.537 GB, free: 128.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003043/0.7143, allocations: 2.372 MB / 0.5393 GB, free: 127.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001362/0.7157, allocations: 417.5 kB / 0.5397 GB, free: 127.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.7161, allocations: 127.2 kB / 0.5399 GB, free: 127.9 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.7161, allocations: 0 / 0.5399 GB, free: 127.9 MB / 462.1 MB Notification: Performance of Templates: time 0.0425/0.7586, allocations: 31.53 MB / 0.5706 GB, free: 105.6 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/jenkins/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/jenkins/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