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.001107/0.001107, allocations: 103.5 kB / 16.62 MB, free: 6.805 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.001185/0.001185, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.336/1.336, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000935/0.0009351, allocations: 41.81 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08368/0.08463, allocations: 49.45 MB / 349.6 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.013/0.09767, allocations: 12.74 MB / 362.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007502/0.1052, allocations: 4.193 MB / 366.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.1069, allocations: 67.75 kB / 366.6 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.1094, allocations: 0.8669 MB / 367.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.1128, allocations: 1.174 MB / 368.6 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.1146, allocations: 0.7638 MB / 369.4 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1535/0.2682, allocations: 4.139 MB / 373.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003751/0.272, allocations: 3.243 MB / 376.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.2747, allocations: 1.77 MB / 378.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.2782, allocations: 2.103 MB / 380.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009651/0.2791, allocations: 0.5095 MB / 381.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.2812, allocations: 0.7154 MB / 381.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000977/0.2822, allocations: 1.135 MB / 383 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003309/0.2855, allocations: 2.117 MB / 385.1 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006044/0.2915, allocations: 6.69 MB / 391.8 MB, free: 4.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2916, allocations: 0 / 391.8 MB, free: 4.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2916, allocations: 0 / 391.8 MB, free: 4.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001269/0.2917, allocations: 0 / 391.8 MB, free: 4.309 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.01034/0.3021, allocations: 4.382 MB / 396.2 MB, free: 1.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3021, allocations: 12.19 kB / 396.2 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004202/0.3063, allocations: 0.8192 MB / 397 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004175/0.3105, allocations: 2.355 MB / 399.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.3107, allocations: 232.9 kB / 399.6 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005939/0.3113, allocations: 320 kB / 399.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007821/0.3191, allocations: 4.259 MB / 404.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.012e-05/0.3192, allocations: 3.906 kB / 404.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003197/0.3196, allocations: 127.8 kB / 404.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.3197, allocations: 146.2 kB / 404.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007226/0.3269, allocations: 3.669 MB / 408.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0239/0.3509, allocations: 13.49 MB / 421.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006413/0.3573, allocations: 6.864 MB / 428.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.3599, allocations: 1.416 MB / 429.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006907/0.3668, allocations: 3.647 MB / 433.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.3669, allocations: 43.56 kB / 433.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 3.046e-06/0.3669, allocations: 0 / 433.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01467/0.3816, allocations: 6.642 MB / 440.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3817, allocations: 68.72 kB / 440.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/0.3851, allocations: 1.863 MB / 442.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000183/0.3853, allocations: 53.08 kB / 442.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009909/0.3863, allocations: 1.426 MB / 443.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004149/0.3868, allocations: 495.3 kB / 444.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005407/0.3873, allocations: 303.3 kB / 444.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.3874, allocations: 305.1 kB / 444.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.3887, allocations: 0.7613 MB / 445.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.3902, allocations: 1.22 MB / 446.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.3931, allocations: 2.111 MB / 448.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.3931, allocations: 7.938 kB / 448.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004808/0.3979, allocations: 2.658 MB / 451.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.398, allocations: 12 kB / 451.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/0.398, allocations: 15.94 kB / 451.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.3995, allocations: 0.5116 MB / 452 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.401, allocations: 388.6 kB / 452.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008477/0.4095, allocations: 6.936 MB / 459.3 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.4113, allocations: 71.88 kB / 459.4 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/0.4116, allocations: 75.98 kB / 459.5 MB, free: 2.207 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.002145/0.4137, allocations: 1.056 MB / 460.5 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/0.4143, allocations: 193.7 kB / 460.7 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.4188, allocations: 2.497 MB / 463.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.4189, allocations: 16 kB / 463.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.4189, allocations: 4 kB / 463.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.4189, allocations: 15.91 kB / 463.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009651/0.4286, allocations: 5.521 MB / 468.8 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.4286, allocations: 4 kB / 468.8 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.4297, allocations: 219.9 kB / 469 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.431, allocations: 0.5014 MB / 469.5 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.4311, allocations: 35.98 kB / 469.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.4417, allocations: 11.43 MB / 481 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4417, allocations: 0 / 481 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005796/0.4475, allocations: 3.564 MB / 484.5 MB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.4488, allocations: 454.6 kB / 485 MB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005436/0.4493, allocations: 35.98 kB / 485 MB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.4506, allocations: 67.08 kB / 485.1 MB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.4509, allocations: 117 kB / 485.2 MB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.451, allocations: 39.98 kB / 485.2 MB, free: 7.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002202/0.4532, allocations: 1.282 MB / 486.5 MB, free: 6.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4532, allocations: 0 / 486.5 MB, free: 6.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002342/0.4556, allocations: 0.5898 MB / 487.1 MB, free: 5.613 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.0003647/0.456, allocations: 166.4 kB / 487.2 MB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005776/0.4617, allocations: 2.852 MB / 490.1 MB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4618, allocations: 0 / 490.1 MB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002615/0.4644, allocations: 1.72 MB / 491.8 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.467, allocations: 0.5168 MB / 492.3 MB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.4793, allocations: 7.318 MB / 499.7 MB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003159/0.4825, allocations: 2.37 MB / 0.4903 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001795/0.4843, allocations: 416.8 kB / 0.4907 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.4848, allocations: 127.4 kB / 0.4908 GB, free: 5.977 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4848, allocations: 0 / 0.4908 GB, free: 5.977 MB / 414.1 MB Notification: Performance of Templates: time 0.05554/0.5404, allocations: 30.92 MB / 0.521 GB, free: 7.398 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 -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