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.001224/0.001224, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.95 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08861/0.08983, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1773/0.2672, allocations: 13.5 MB / 372.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009199/0.2764, allocations: 4.532 MB / 376.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.2782, allocations: 78.31 kB / 377 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002944/0.2812, allocations: 0.9959 MB / 378 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004016/0.2852, allocations: 1.274 MB / 379.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.2875, allocations: 0.8989 MB / 380.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005132/0.2927, allocations: 4.069 MB / 384.3 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003267/0.296, allocations: 3.249 MB / 387.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.2986, allocations: 1.895 MB / 389.4 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.3014, allocations: 2.247 MB / 391.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006334/0.302, allocations: 0.5092 MB / 392.2 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.3035, allocations: 0.7239 MB / 392.9 MB, free: 4.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008027/0.3043, allocations: 1.144 MB / 394 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.3061, allocations: 2.14 MB / 396.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0052/0.3113, allocations: 6.784 MB / 402.9 MB, free: 13.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3113, allocations: 2.625 kB / 403 MB, free: 13.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3113, allocations: 0 / 403 MB, free: 13.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.674e-05/0.3114, allocations: 0 / 403 MB, free: 13.26 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.01/0.3214, allocations: 4.44 MB / 407.4 MB, free: 9.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3215, allocations: 8.031 kB / 407.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/0.3258, allocations: 0.8454 MB / 408.2 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.3302, allocations: 2.504 MB / 410.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.3303, allocations: 234 kB / 411 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/0.3308, allocations: 311.8 kB / 411.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/0.3372, allocations: 4.259 MB / 415.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.218e-05/0.3373, allocations: 7.938 kB / 415.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/0.3375, allocations: 127 kB / 415.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.3377, allocations: 146.2 kB / 415.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00561/0.3433, allocations: 3.655 MB / 419.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01862/0.3619, allocations: 13.41 MB / 432.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006006/0.368, allocations: 6.884 MB / 439.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/0.3701, allocations: 1.415 MB / 441.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005605/0.3757, allocations: 3.878 MB / 445.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3757, allocations: 51.56 kB / 445.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 2.425e-06/0.3758, allocations: 0 / 445.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01202/0.3878, allocations: 6.639 MB / 451.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.3878, allocations: 72.72 kB / 451.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.3902, allocations: 1.884 MB / 453.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-05/0.3903, allocations: 53.7 kB / 453.8 MB, free: 9.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008716/0.3912, allocations: 1.439 MB / 455.2 MB, free: 8.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.3915, allocations: 0.4904 MB / 455.7 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004539/0.3919, allocations: 307.3 kB / 456 MB, free: 7.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.392, allocations: 305.1 kB / 456.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3932, allocations: 0.7613 MB / 457 MB, free: 6.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.3946, allocations: 1.224 MB / 458.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00267/0.3973, allocations: 2.1 MB / 460.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.3973, allocations: 4 kB / 460.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004109/0.4014, allocations: 2.663 MB / 463 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.4014, allocations: 15.94 kB / 463.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.4015, allocations: 16 kB / 463.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.4027, allocations: 0.4981 MB / 463.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.4042, allocations: 387.4 kB / 463.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/0.412, allocations: 6.913 MB / 470.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.4133, allocations: 84.02 kB / 470.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.4134, allocations: 71.94 kB / 471 MB, free: 7.707 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.001567/0.415, allocations: 1.052 MB / 472.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.4153, allocations: 197.6 kB / 472.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/0.4193, allocations: 2.508 MB / 474.8 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4193, allocations: 12 kB / 474.8 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4193, allocations: 15.94 kB / 474.8 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.4194, allocations: 7.969 kB / 474.8 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008072/0.4274, allocations: 5.525 MB / 480.3 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.4275, allocations: 7.938 kB / 480.3 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009958/0.4285, allocations: 219.9 kB / 480.5 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.4297, allocations: 0.4958 MB / 481 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.4298, allocations: 31.94 kB / 481.1 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.4399, allocations: 11.42 MB / 492.5 MB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.44, allocations: 4.031 kB / 492.5 MB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.4454, allocations: 3.577 MB / 496.1 MB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.4464, allocations: 454.6 kB / 496.5 MB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.4467, allocations: 35.98 kB / 496.5 MB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009001/0.4476, allocations: 63.95 kB / 496.6 MB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/0.4479, allocations: 117 kB / 496.7 MB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-05/0.448, allocations: 39.98 kB / 496.8 MB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001812/0.4498, allocations: 1.306 MB / 498.1 MB, free: 11.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4498, allocations: 0 / 498.1 MB, free: 11.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001872/0.4517, allocations: 0.5898 MB / 498.7 MB, free: 11.07 MB / 414.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.0003224/0.452, allocations: 169.3 kB / 498.8 MB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003826/0.4558, allocations: 2.402 MB / 0.4895 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4559, allocations: 4 kB / 0.4895 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.4583, allocations: 1.719 MB / 0.4912 GB, free: 6.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.4603, allocations: 0.5308 MB / 0.4917 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009401/0.4697, allocations: 5.964 MB / 0.4975 GB, free: 168 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/0.4718, allocations: 2.383 MB / 0.4998 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00132/0.4731, allocations: 417 kB / 0.5002 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.4735, allocations: 131.4 kB / 0.5004 GB, free: 13.21 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4735, allocations: 0 / 0.5004 GB, free: 13.21 MB / 430.1 MB Notification: Performance of Templates: time 0.1919/0.6653, allocations: 31.23 MB / 0.5309 GB, free: 143.7 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 -s gbode -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