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.0008161/0.0008161, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.0008526/0.0008523, allocations: 175.3 kB / 18.21 MB, free: 5.68 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.127/1.127, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002155/0.0002155, allocations: 9.125 kB / 302.1 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07171/0.07194, allocations: 50.4 MB / 352.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01036/0.08233, allocations: 12.11 MB / 364.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006114/0.08846, allocations: 4.163 MB / 368.8 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.08994, allocations: 75.69 kB / 368.8 MB, free: 3.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.09205, allocations: 0.8474 MB / 369.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.09506, allocations: 1.174 MB / 370.9 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.09655, allocations: 0.7748 MB / 371.6 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.128/0.2246, allocations: 4.3 MB / 375.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.2281, allocations: 2.677 MB / 378.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.2302, allocations: 1.301 MB / 379.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.2329, allocations: 1.712 MB / 381.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008153/0.2337, allocations: 207.3 kB / 381.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.2355, allocations: 420 kB / 382.2 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006647/0.2361, allocations: 0.7756 MB / 383 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.2377, allocations: 1.757 MB / 384.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.2413, allocations: 5.543 MB / 390.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2413, allocations: 3.984 kB / 390.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2413, allocations: 0.9688 kB / 390.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.95e-05/0.2414, allocations: 4 kB / 390.3 MB, free: 6.48 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.006724/0.2481, allocations: 3.728 MB / 394.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2481, allocations: 12.97 kB / 394.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003498/0.2516, allocations: 0.8211 MB / 394.9 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.2542, allocations: 2.351 MB / 397.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.2543, allocations: 238.4 kB / 397.5 MB, free: 1.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003566/0.2547, allocations: 316.6 kB / 397.8 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005306/0.26, allocations: 4.265 MB / 402 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.527e-05/0.26, allocations: 4 kB / 402 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/0.2603, allocations: 128 kB / 402.2 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.2604, allocations: 142.2 kB / 402.3 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005123/0.2656, allocations: 3.682 MB / 406 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0169/0.2825, allocations: 13.58 MB / 419.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/0.2881, allocations: 6.871 MB / 426.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.29, allocations: 1.421 MB / 427.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00482/0.2949, allocations: 3.648 MB / 431.5 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2949, allocations: 47.56 kB / 431.6 MB, free: 328 kB / 334.1 MB Notification: Performance of pre-optimization done (n=124): time 2.344e-06/0.2949, allocations: 0 / 431.6 MB, free: 328 kB / 334.1 MB Notification: Performance of matching and sorting (n=144): time 0.01119/0.3061, allocations: 6.716 MB / 438.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3062, allocations: 64.72 kB / 438.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.3084, allocations: 1.859 MB / 440.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-05/0.3085, allocations: 53.7 kB / 440.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007803/0.3093, allocations: 1.415 MB / 441.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.3096, allocations: 0.4898 MB / 442.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.3098, allocations: 141.6 kB / 442.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.3098, allocations: 301.1 kB / 442.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.3109, allocations: 0.773 MB / 443.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.3122, allocations: 1.235 MB / 444.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.3146, allocations: 2.122 MB / 446.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3146, allocations: 4 kB / 446.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.003753/0.3184, allocations: 2.675 MB / 449.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3184, allocations: 16.28 kB / 449.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.3185, allocations: 19.94 kB / 449.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.3196, allocations: 0.4982 MB / 449.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.3209, allocations: 391.4 kB / 450.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006663/0.3275, allocations: 6.407 MB / 456.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.3286, allocations: 79.8 kB / 456.8 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.3287, allocations: 72 kB / 456.9 MB, free: 6.156 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.001431/0.3302, allocations: 1.048 MB / 457.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.3304, allocations: 197.6 kB / 458.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/0.334, allocations: 2.523 MB / 460.6 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.334, allocations: 12 kB / 460.6 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.334, allocations: 8 kB / 460.6 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.334, allocations: 7.969 kB / 460.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/0.3408, allocations: 5.546 MB / 466.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3408, allocations: 0 / 466.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/0.3416, allocations: 223.9 kB / 466.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.3427, allocations: 0.489 MB / 466.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.96e-05/0.3428, allocations: 35.98 kB / 466.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008276/0.351, allocations: 10.49 MB / 477.4 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3511, allocations: 4.031 kB / 477.4 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004507/0.3556, allocations: 3.594 MB / 481 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/0.3562, allocations: 454.6 kB / 481.5 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.3564, allocations: 43.92 kB / 481.5 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/0.3572, allocations: 71.95 kB / 481.6 MB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.3574, allocations: 109.1 kB / 481.7 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/0.3575, allocations: 36 kB / 481.7 MB, free: 12.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001488/0.359, allocations: 1.289 MB / 483 MB, free: 11.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.359, allocations: 0 / 483 MB, free: 11.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001554/0.3606, allocations: 0.5859 MB / 483.6 MB, free: 10.46 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.0002436/0.3608, allocations: 163.2 kB / 483.8 MB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003266/0.3641, allocations: 2.4 MB / 486.2 MB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3641, allocations: 0 / 486.2 MB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.3662, allocations: 1.743 MB / 487.9 MB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.3684, allocations: 0.492 MB / 488.4 MB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008377/0.3767, allocations: 7.436 MB / 495.8 MB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.3784, allocations: 2.316 MB / 498.1 MB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.3788, allocations: 139.4 kB / 498.3 MB, free: 11.6 MB / 414.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3788, allocations: 0 / 498.3 MB, free: 11.6 MB / 414.1 MB Notification: Performance of Templates: time 0.2062/0.585, allocations: 96.91 MB / 0.5812 GB, free: 114.6 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/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