Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_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.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_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.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 183.2 kB / 17.02 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008756/0.0008757, allocations: 96.14 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.000273, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2233, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2893/0.5126, allocations: 128.9 MB / 0.4929 GB, free: 108.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5129, allocations: 89.92 kB / 0.493 GB, free: 108.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3231/0.836, allocations: 150.1 MB / 0.6395 GB, free: 8.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.836, allocations: 0 / 0.6395 GB, free: 8.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006768/0.8367, allocations: 179.8 kB / 0.6397 GB, free: 8.246 MB / 410.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.02321/0.8599, allocations: 7.275 MB / 0.6468 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.86, allocations: 8.031 kB / 0.6468 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3758/1.236, allocations: 1.238 MB / 0.648 GB, free: 34.36 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/1.251, allocations: 6.272 MB / 0.6542 GB, free: 33.96 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/1.251, allocations: 0.4979 MB / 0.6546 GB, free: 33.95 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001748/1.253, allocations: 0.6589 MB / 0.6553 GB, free: 33.94 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/1.269, allocations: 9.354 MB / 0.6644 GB, free: 33.01 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/1.269, allocations: 11.09 kB / 0.6644 GB, free: 33 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006909/1.27, allocations: 289.3 kB / 0.6647 GB, free: 33 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/1.27, allocations: 296.7 kB / 0.665 GB, free: 32.99 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/1.283, allocations: 7.68 MB / 0.6725 GB, free: 32.93 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05283/1.336, allocations: 29.47 MB / 0.7013 GB, free: 26.88 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/1.347, allocations: 11.88 MB / 0.7129 GB, free: 17.66 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/1.363, allocations: 6.991 MB / 0.7197 GB, free: 14.34 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/1.363, allocations: 75.14 kB / 0.7198 GB, free: 14.28 MB / 410.8 MB Notification: Performance of pre-optimization done (n=323): time 5.11e-06/1.363, allocations: 0 / 0.7198 GB, free: 14.28 MB / 410.8 MB Notification: Performance of matching and sorting (n=342): time 0.03319/1.396, allocations: 16.33 MB / 0.7357 GB, free: 6.547 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/1.396, allocations: 85.88 kB / 0.7358 GB, free: 6.48 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005517/1.402, allocations: 3.486 MB / 0.7392 GB, free: 5.195 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005086/1.402, allocations: 83.42 kB / 0.7393 GB, free: 5.121 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/1.404, allocations: 3.052 MB / 0.7423 GB, free: 2.801 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009198/1.405, allocations: 1.148 MB / 0.7434 GB, free: 1.91 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/1.405, allocations: 80.97 kB / 0.7435 GB, free: 1.848 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001655/1.405, allocations: 457 kB / 0.7439 GB, free: 1.48 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/1.408, allocations: 1.934 MB / 0.7458 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003047/1.411, allocations: 2.822 MB / 0.7485 GB, free: 15.02 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/1.414, allocations: 2.356 MB / 0.7508 GB, free: 14.03 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/1.414, allocations: 11.41 kB / 0.7509 GB, free: 14.03 MB / 426.8 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.009986/1.424, allocations: 6.52 MB / 0.7572 GB, free: 11.43 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/1.424, allocations: 15.25 kB / 0.7572 GB, free: 11.43 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/1.424, allocations: 26.12 kB / 0.7573 GB, free: 11.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002783/1.427, allocations: 1.255 MB / 0.7585 GB, free: 11 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/1.43, allocations: 0.8413 MB / 0.7593 GB, free: 10.98 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/1.45, allocations: 21.1 MB / 0.7799 GB, free: 9.016 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003882/1.454, allocations: 214.5 kB / 0.7801 GB, free: 8.852 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007518/1.455, allocations: 151.5 kB / 0.7803 GB, free: 8.707 MB / 442.8 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.004722/1.459, allocations: 2.178 MB / 0.7824 GB, free: 6.867 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.461, allocations: 453.8 kB / 0.7828 GB, free: 6.422 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/1.472, allocations: 6.295 MB / 0.789 GB, free: 1.023 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/1.472, allocations: 32 kB / 0.789 GB, free: 0.9922 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/1.472, allocations: 23.33 kB / 0.789 GB, free: 0.9727 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/1.472, allocations: 17.62 kB / 0.789 GB, free: 0.9727 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0242/1.496, allocations: 12.78 MB / 0.8015 GB, free: 6.523 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/1.496, allocations: 4 kB / 0.8015 GB, free: 6.52 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002694/1.499, allocations: 0.4932 MB / 0.802 GB, free: 6.133 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004211/1.503, allocations: 1.608 MB / 0.8036 GB, free: 4.852 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006451/1.504, allocations: 79.27 kB / 0.8037 GB, free: 4.781 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2574/1.761, allocations: 30.76 MB / 0.8337 GB, free: 79.88 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.761, allocations: 11.25 kB / 0.8337 GB, free: 79.88 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/1.776, allocations: 9.374 MB / 0.8429 GB, free: 78.52 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004504/1.781, allocations: 0.9366 MB / 0.8438 GB, free: 78.43 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002488/1.783, allocations: 75.7 kB / 0.8438 GB, free: 78.43 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004436/1.788, allocations: 208.9 kB / 0.844 GB, free: 78.43 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/1.789, allocations: 293.2 kB / 0.8443 GB, free: 78.42 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003912/1.789, allocations: 97.83 kB / 0.8444 GB, free: 78.42 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.006729/1.796, allocations: 2.663 MB / 0.847 GB, free: 78.24 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.11e-07/1.796, allocations: 0 / 0.847 GB, free: 78.24 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.00736/1.804, allocations: 1.395 MB / 0.8484 GB, free: 78.24 MB / 474.8 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%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.001227/1.805, allocations: 0.5146 MB / 0.8489 GB, free: 78.13 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01099/1.816, allocations: 6.516 MB / 0.8552 GB, free: 76.51 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.816, allocations: 0 / 0.8552 GB, free: 76.51 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009699/1.826, allocations: 4.913 MB / 0.86 GB, free: 74.56 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007672/1.833, allocations: 1.25 MB / 0.8613 GB, free: 74.54 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02836/1.862, allocations: 15.91 MB / 0.8768 GB, free: 68.12 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008116/1.87, allocations: 4.617 MB / 0.8813 GB, free: 67.21 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005032/1.875, allocations: 1.058 MB / 0.8823 GB, free: 67.1 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.876, allocations: 275.4 kB / 0.8826 GB, free: 67.1 MB / 474.8 MB Notification: Performance of SimCode: time 9.72e-07/1.876, allocations: 0 / 0.8826 GB, free: 67.1 MB / 474.8 MB Notification: Performance of Templates: time 0.1167/1.993, allocations: 73.16 MB / 0.9541 GB, free: 41.75 MB / 474.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMS_Start/AIMS_Start.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches