Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 95.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.7 MB / 247.5 MB, free: 9.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002605, allocations: 4 kB / 308.4 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 51.53 MB / 359.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01397/0.123, allocations: 12.69 MB / 372.6 MB, free: 252 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1994/0.3224, allocations: 4.393 MB / 377 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.3253, allocations: 77.41 kB / 377.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.3288, allocations: 0.8642 MB / 378 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.3339, allocations: 1.163 MB / 379.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.3364, allocations: 0.8164 MB / 379.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006758/0.3431, allocations: 4.424 MB / 384.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003702/0.3469, allocations: 2.681 MB / 387 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.3499, allocations: 1.312 MB / 388.4 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003692/0.3536, allocations: 1.715 MB / 390.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.3548, allocations: 211.1 kB / 390.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.3574, allocations: 449.2 kB / 390.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.3588, allocations: 0.7809 MB / 391.5 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00272/0.3615, allocations: 1.763 MB / 393.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.3665, allocations: 5.576 MB / 398.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3665, allocations: 0 / 398.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3666, allocations: 0 / 398.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001673/0.3667, allocations: 0 / 398.8 MB, free: 15.48 MB / 318.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.0106/0.3773, allocations: 3.766 MB / 402.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3774, allocations: 7.719 kB / 402.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005159/0.3826, allocations: 0.8562 MB / 403.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00518/0.3878, allocations: 2.396 MB / 405.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.388, allocations: 233.6 kB / 406.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007777/0.3888, allocations: 319 kB / 406.4 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008106/0.3969, allocations: 4.269 MB / 410.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-05/0.397, allocations: 0 / 410.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/0.3973, allocations: 130.8 kB / 410.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.3975, allocations: 142.2 kB / 410.9 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006881/0.4044, allocations: 3.679 MB / 414.6 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/0.4274, allocations: 13.64 MB / 428.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00722/0.4347, allocations: 6.881 MB / 435.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002466/0.4372, allocations: 1.417 MB / 436.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007215/0.4444, allocations: 3.902 MB / 440.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.4445, allocations: 43.56 kB / 440.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 3.417e-06/0.4445, allocations: 0 / 440.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01474/0.4593, allocations: 6.743 MB / 447.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.4594, allocations: 64.72 kB / 447.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/0.463, allocations: 1.888 MB / 449.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.4632, allocations: 49.7 kB / 449.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.4643, allocations: 1.44 MB / 450.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000464/0.4648, allocations: 496.9 kB / 451.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.465, allocations: 137.6 kB / 451.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4652, allocations: 305.1 kB / 451.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.4666, allocations: 0.773 MB / 452.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.4682, allocations: 1.228 MB / 453.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.4713, allocations: 2.123 MB / 455.7 MB, free: 6.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.4713, allocations: 4 kB / 455.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004959/0.4763, allocations: 2.679 MB / 458.4 MB, free: 4.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.4763, allocations: 19.97 kB / 458.4 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.4764, allocations: 16 kB / 458.4 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.4778, allocations: 0.4972 MB / 458.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.4792, allocations: 391.4 kB / 459.3 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008428/0.4876, allocations: 6.392 MB / 465.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.4895, allocations: 79.88 kB / 465.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002432/0.4897, allocations: 67.98 kB / 465.9 MB, free: 12.56 MB / 382.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.00217/0.4919, allocations: 1.052 MB / 466.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/0.4924, allocations: 209.4 kB / 467.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004717/0.4972, allocations: 2.516 MB / 469.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.4972, allocations: 16 kB / 469.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/0.4972, allocations: 4 kB / 469.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.4972, allocations: 15.91 kB / 469.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.5076, allocations: 5.549 MB / 475.2 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.5077, allocations: 4 kB / 475.2 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.5087, allocations: 223.9 kB / 475.4 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.51, allocations: 0.4915 MB / 475.9 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.5102, allocations: 39.92 kB / 476 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.5207, allocations: 10.5 MB / 486.5 MB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.5208, allocations: 0 / 486.5 MB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006343/0.5271, allocations: 3.59 MB / 490.1 MB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.5284, allocations: 462.4 kB / 490.5 MB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005849/0.529, allocations: 31.94 kB / 490.5 MB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.5302, allocations: 75.95 kB / 490.6 MB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/0.5306, allocations: 109.1 kB / 490.7 MB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.5307, allocations: 39.98 kB / 490.8 MB, free: 2.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002616/0.5333, allocations: 1.31 MB / 492.1 MB, free: 1.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5333, allocations: 0 / 492.1 MB, free: 1.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002705/0.536, allocations: 0.5939 MB / 492.7 MB, free: 0.793 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.000434/0.5365, allocations: 166.2 kB / 492.8 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004498/0.541, allocations: 2.407 MB / 495.2 MB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.541, allocations: 4 kB / 495.2 MB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002777/0.5438, allocations: 1.731 MB / 497 MB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/0.5474, allocations: 0.507 MB / 497.5 MB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.5612, allocations: 7.473 MB / 0.4931 GB, free: 4.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002856/0.5641, allocations: 2.325 MB / 0.4954 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/0.5649, allocations: 139.4 kB / 0.4955 GB, free: 1.875 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.5649, allocations: 4 kB / 0.4955 GB, free: 1.871 MB / 414.1 MB Notification: Performance of Templates: time 0.2815/0.8464, allocations: 97.81 MB / 0.591 GB, free: 98.16 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches