Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009877/0.0009877, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.172/1.172, allocations: 227.2 MB / 245 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008671/0.0008674, allocations: 101.8 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002113/0.0002113, allocations: 8 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1952, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3009/0.4962, allocations: 131.6 MB / 0.5283 GB, free: 46.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.4964, allocations: 94.2 kB / 0.5284 GB, free: 46.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5417/1.038, allocations: 154.3 MB / 0.6791 GB, free: 50.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.038, allocations: 0 / 0.6791 GB, free: 50.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000897/1.039, allocations: 180.9 kB / 0.6793 GB, free: 50.09 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.01996/1.059, allocations: 7.34 MB / 0.6865 GB, free: 48.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/1.059, allocations: 8.875 kB / 0.6865 GB, free: 48.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006921/1.066, allocations: 1.284 MB / 0.6877 GB, free: 47.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/1.08, allocations: 6.321 MB / 0.6939 GB, free: 46.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003626/1.081, allocations: 0.5005 MB / 0.6944 GB, free: 46.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/1.083, allocations: 0.661 MB / 0.695 GB, free: 46.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/1.098, allocations: 9.326 MB / 0.7041 GB, free: 45.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/1.099, allocations: 14.03 kB / 0.7041 GB, free: 45.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006699/1.099, allocations: 287.5 kB / 0.7044 GB, free: 45.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/1.1, allocations: 299.1 kB / 0.7047 GB, free: 45.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/1.111, allocations: 7.668 MB / 0.7122 GB, free: 45.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03598/1.147, allocations: 29.65 MB / 0.7412 GB, free: 39.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00829/1.155, allocations: 12.17 MB / 0.753 GB, free: 30.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/1.167, allocations: 7.265 MB / 0.7601 GB, free: 26.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/1.167, allocations: 71.42 kB / 0.7602 GB, free: 26.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=323): time 6.282e-06/1.167, allocations: 0 / 0.7602 GB, free: 26.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=342): time 0.02593/1.193, allocations: 16.31 MB / 0.7761 GB, free: 18.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/1.193, allocations: 89.78 kB / 0.7762 GB, free: 18.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004373/1.197, allocations: 3.499 MB / 0.7796 GB, free: 17.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003097/1.197, allocations: 81.14 kB / 0.7797 GB, free: 17.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/1.199, allocations: 3.06 MB / 0.7827 GB, free: 15.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006046/1.199, allocations: 1.149 MB / 0.7838 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/1.199, allocations: 75.84 kB / 0.7839 GB, free: 14.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/1.2, allocations: 460.7 kB / 0.7843 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/1.202, allocations: 1.937 MB / 0.7862 GB, free: 13.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/1.205, allocations: 2.816 MB / 0.789 GB, free: 11.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/1.208, allocations: 2.362 MB / 0.7913 GB, free: 10.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.208, allocations: 7.281 kB / 0.7913 GB, free: 10.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.008813/1.216, allocations: 6.515 MB / 0.7976 GB, free: 7.703 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.216, allocations: 20.91 kB / 0.7977 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/1.216, allocations: 25.94 kB / 0.7977 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/1.219, allocations: 1.263 MB / 0.7989 GB, free: 7.262 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/1.222, allocations: 0.8316 MB / 0.7997 GB, free: 7.234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/1.238, allocations: 21.11 MB / 0.8204 GB, free: 5.816 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/1.242, allocations: 201.3 kB / 0.8205 GB, free: 5.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008067/1.242, allocations: 152.6 kB / 0.8207 GB, free: 5.715 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 415 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005413/1.248, allocations: 2.184 MB / 0.8228 GB, free: 4.652 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.249, allocations: 451.6 kB / 0.8233 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/1.26, allocations: 6.295 MB / 0.8294 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/1.26, allocations: 39.95 kB / 0.8294 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.79e-05/1.26, allocations: 12 kB / 0.8294 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-05/1.26, allocations: 18.53 kB / 0.8295 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.024/1.284, allocations: 12.75 MB / 0.8419 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.284, allocations: 4 kB / 0.8419 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/1.287, allocations: 0.4951 MB / 0.8424 GB, free: 4.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003645/1.29, allocations: 1.614 MB / 0.844 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/1.291, allocations: 78.94 kB / 0.8441 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2316/1.522, allocations: 30.73 MB / 0.8741 GB, free: 55.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.522, allocations: 9 kB / 0.8741 GB, free: 55.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.534, allocations: 9.366 MB / 0.8832 GB, free: 54.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002524/1.536, allocations: 0.9417 MB / 0.8841 GB, free: 54.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008905/1.537, allocations: 70.62 kB / 0.8842 GB, free: 54.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/1.54, allocations: 205.2 kB / 0.8844 GB, free: 54.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006217/1.54, allocations: 291.7 kB / 0.8847 GB, free: 54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/1.54, allocations: 96.58 kB / 0.8848 GB, free: 54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0034/1.544, allocations: 2.676 MB / 0.8874 GB, free: 53.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.544, allocations: 7 kB / 0.8874 GB, free: 53.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003926/1.548, allocations: 1.402 MB / 0.8888 GB, free: 53.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007963/1.549, allocations: 0.5564 MB / 0.8893 GB, free: 53.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007579/1.556, allocations: 6.486 MB / 0.8956 GB, free: 52.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.556, allocations: 2.125 kB / 0.8956 GB, free: 52.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005305/1.561, allocations: 4.916 MB / 0.9004 GB, free: 50.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006012/1.568, allocations: 1.275 MB / 0.9017 GB, free: 50.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/1.59, allocations: 15.89 MB / 0.9172 GB, free: 43.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004406/1.594, allocations: 4.626 MB / 0.9217 GB, free: 42.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004054/1.598, allocations: 1.06 MB / 0.9228 GB, free: 42.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000783/1.599, allocations: 283 kB / 0.923 GB, free: 42.71 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/1.599, allocations: 0 / 0.923 GB, free: 42.71 MB / 490.7 MB Notification: Performance of Templates: time 0.1043/1.703, allocations: 73.73 MB / 0.995 GB, free: 23.19 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches