Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009915/0.0009917, allocations: 100.1 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.857e-05, allocations: 4 kB / 343.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 51.48 MB / 395.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4127/0.524, allocations: 147.7 MB / 0.5301 GB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5243, allocations: 103.2 kB / 0.5302 GB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178/1.702, allocations: 361.6 MB / 0.8834 GB, free: 33.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.824e-06/1.703, allocations: 0 / 0.8834 GB, free: 33.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006912/1.703, allocations: 251.6 kB / 0.8836 GB, free: 32.83 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.03349/1.737, allocations: 10.23 MB / 0.8936 GB, free: 22.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.737, allocations: 12.03 kB / 0.8936 GB, free: 22.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02668/1.763, allocations: 4.759 MB / 0.8983 GB, free: 17.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/1.786, allocations: 9.495 MB / 0.9075 GB, free: 8.254 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006511/1.787, allocations: 340 kB / 0.9078 GB, free: 7.922 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00501/1.792, allocations: 0.6014 MB / 0.9084 GB, free: 7.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3503/2.142, allocations: 13.53 MB / 0.9216 GB, free: 33.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04536/2.188, allocations: 15.14 MB / 0.9364 GB, free: 32.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005416/2.188, allocations: 19.19 kB / 0.9365 GB, free: 32.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004191/2.193, allocations: 7.188 kB / 0.9365 GB, free: 32.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/2.194, allocations: 0.7501 MB / 0.9372 GB, free: 32.56 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1102/2.304, allocations: 56.07 MB / 0.992 GB, free: 19.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03322/2.337, allocations: 32.03 MB / 1.023 GB, free: 7.102 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007674/2.345, allocations: 4.385 MB / 1.028 GB, free: 5.465 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02039/2.365, allocations: 10.99 MB / 1.038 GB, free: 16.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/2.366, allocations: 77.23 kB / 1.038 GB, free: 16.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=393): time 6.543e-06/2.366, allocations: 0 / 1.038 GB, free: 16.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=418): time 0.052/2.418, allocations: 19.72 MB / 1.058 GB, free: 7.594 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.808e-05/2.418, allocations: 125.4 kB / 1.058 GB, free: 7.488 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006522/2.424, allocations: 3.518 MB / 1.061 GB, free: 6.055 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001005/2.425, allocations: 25.7 kB / 1.061 GB, free: 6.023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003459/2.429, allocations: 4.685 MB / 1.066 GB, free: 2.484 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00212/2.431, allocations: 1.376 MB / 1.067 GB, free: 1.406 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/2.431, allocations: 0 / 1.067 GB, free: 1.406 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003918/2.432, allocations: 0.5351 MB / 1.068 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004698/2.436, allocations: 2.89 MB / 1.07 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008035/2.444, allocations: 4.82 MB / 1.075 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/2.46, allocations: 5.316 MB / 1.08 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/2.46, allocations: 22.44 kB / 1.08 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=759) (initialization): time 0.03311/2.494, allocations: 10.55 MB / 1.091 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/2.494, allocations: 32 kB / 1.091 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/2.494, allocations: 68.28 kB / 1.091 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004559/2.498, allocations: 1.635 MB / 1.092 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005811/2.504, allocations: 1.346 MB / 1.094 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3539/2.858, allocations: 15.82 MB / 1.109 GB, free: 72.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005934/2.864, allocations: 256 kB / 1.109 GB, free: 72.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001438/2.866, allocations: 278.9 kB / 1.11 GB, free: 72.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1,(14,39.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001075/2.867, allocations: 291.4 kB / 1.11 GB, free: 72.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/2.868, allocations: 464.6 kB / 1.11 GB, free: 72.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/2.887, allocations: 8.755 MB / 1.119 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-05/2.887, allocations: 46.73 kB / 1.119 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.664e-05/2.887, allocations: 15.31 kB / 1.119 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.495e-05/2.887, allocations: 21.36 kB / 1.119 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03693/2.924, allocations: 17.04 MB / 1.136 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/2.924, allocations: 9.688 kB / 1.136 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003553/2.928, allocations: 0.7531 MB / 1.136 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004136/2.932, allocations: 1.523 MB / 1.138 GB, free: 70.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005164/2.932, allocations: 48.64 kB / 1.138 GB, free: 70.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/2.952, allocations: 18.78 MB / 1.156 GB, free: 61.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/2.952, allocations: 17.38 kB / 1.156 GB, free: 61.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02255/2.974, allocations: 13.23 MB / 1.169 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/2.977, allocations: 1.151 MB / 1.17 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009275/2.978, allocations: 12.97 kB / 1.17 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/2.981, allocations: 210 kB / 1.17 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007303/2.981, allocations: 333.1 kB / 1.171 GB, free: 59.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002864/2.982, allocations: 127.1 kB / 1.171 GB, free: 59.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004203/2.986, allocations: 2.581 MB / 1.173 GB, free: 59.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.1e-07/2.986, allocations: 0 / 1.173 GB, free: 59.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007888/2.994, allocations: 1.709 MB / 1.175 GB, free: 59.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (360): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,40.3%) 44,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/2.995, allocations: 487 kB / 1.176 GB, free: 59.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0126/3.008, allocations: 7.824 MB / 1.183 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/3.008, allocations: 0 / 1.183 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007033/3.015, allocations: 4.536 MB / 1.188 GB, free: 56.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005817/3.021, allocations: 0.9152 MB / 1.189 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/3.054, allocations: 16.55 MB / 1.205 GB, free: 49.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007019/3.061, allocations: 6.958 MB / 1.211 GB, free: 46.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005696/3.066, allocations: 1.82 MB / 1.213 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/3.067, allocations: 357.5 kB / 1.214 GB, free: 46.71 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/3.068, allocations: 0 / 1.214 GB, free: 46.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.4449/3.512, allocations: 71.05 MB / 1.283 GB, free: 72.29 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches