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.001163/0.001163, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.675/1.675, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008378/0.0008379, allocations: 86.66 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.533e-05, allocations: 8 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08537/0.08541, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.4511, allocations: 128.8 MB / 498.8 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/0.4514, allocations: 83.14 kB / 498.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5538/1.005, allocations: 150.2 MB / 0.634 GB, free: 50.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.005, allocations: 0 / 0.634 GB, free: 50.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006408/1.006, allocations: 183.7 kB / 0.6341 GB, free: 49.86 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.01965/1.026, allocations: 6.56 MB / 0.6405 GB, free: 43.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/1.026, allocations: 12.03 kB / 0.6405 GB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008184/1.034, allocations: 1.248 MB / 0.6418 GB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02012/1.054, allocations: 6.238 MB / 0.6479 GB, free: 35.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001012/1.055, allocations: 0.4938 MB / 0.6483 GB, free: 35.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004041/1.059, allocations: 0.6678 MB / 0.649 GB, free: 34.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/1.083, allocations: 9.182 MB / 0.658 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002936/1.083, allocations: 7.906 kB / 0.658 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00212/1.085, allocations: 288 kB / 0.6582 GB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002434/1.086, allocations: 297.4 kB / 0.6585 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/1.104, allocations: 7.444 MB / 0.6658 GB, free: 16.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4977/1.601, allocations: 29.47 MB / 0.6946 GB, free: 37.8 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01606/1.617, allocations: 11.76 MB / 0.7061 GB, free: 30.31 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009143/1.627, allocations: 3.277 MB / 0.7093 GB, free: 30.25 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01967/1.646, allocations: 6.855 MB / 0.7159 GB, free: 29.56 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.646, allocations: 66.52 kB / 0.716 GB, free: 29.52 MB / 410.8 MB Notification: Performance of pre-optimization done (n=306): time 7.614e-06/1.646, allocations: 3.375 kB / 0.716 GB, free: 29.52 MB / 410.8 MB Notification: Performance of matching and sorting (n=325): time 0.03318/1.68, allocations: 11.93 MB / 0.7277 GB, free: 27.57 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.68, allocations: 85.72 kB / 0.7277 GB, free: 27.5 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00763/1.687, allocations: 3.461 MB / 0.7311 GB, free: 27.19 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007854/1.688, allocations: 80.27 kB / 0.7312 GB, free: 27.16 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002427/1.691, allocations: 3.081 MB / 0.7342 GB, free: 26.05 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001575/1.692, allocations: 1.085 MB / 0.7353 GB, free: 25.36 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/1.693, allocations: 78.5 kB / 0.7353 GB, free: 25.36 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002324/1.693, allocations: 455.3 kB / 0.7358 GB, free: 25.05 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003811/1.697, allocations: 1.801 MB / 0.7375 GB, free: 25.04 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/1.701, allocations: 2.695 MB / 0.7402 GB, free: 24.05 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004673/1.706, allocations: 2.224 MB / 0.7423 GB, free: 24 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-05/1.706, allocations: 10.11 kB / 0.7423 GB, free: 23.99 MB / 410.8 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01478/1.721, allocations: 6.217 MB / 0.7484 GB, free: 22.92 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/1.721, allocations: 14.31 kB / 0.7484 GB, free: 22.92 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.416e-05/1.721, allocations: 27.83 kB / 0.7485 GB, free: 22.92 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/1.725, allocations: 1.262 MB / 0.7497 GB, free: 22.49 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004991/1.73, allocations: 0.8119 MB / 0.7505 GB, free: 22.46 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02126/1.751, allocations: 20.69 MB / 0.7707 GB, free: 21.29 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005306/1.756, allocations: 202.5 kB / 0.7709 GB, free: 21.23 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008916/1.757, allocations: 153.3 kB / 0.771 GB, free: 21.2 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 402 * 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.0007356/1.758, allocations: 335.1 kB / 0.7713 GB, free: 20.97 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008792/1.759, allocations: 446.3 kB / 0.7718 GB, free: 20.74 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009808/1.769, allocations: 5.976 MB / 0.7776 GB, free: 18.09 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/1.769, allocations: 31.47 kB / 0.7776 GB, free: 18.09 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.472e-05/1.769, allocations: 13.94 kB / 0.7776 GB, free: 18.09 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/1.769, allocations: 17.92 kB / 0.7777 GB, free: 18.09 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02196/1.791, allocations: 12.27 MB / 0.7896 GB, free: 12.93 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.791, allocations: 0 / 0.7896 GB, free: 12.93 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/1.793, allocations: 465.6 kB / 0.7901 GB, free: 12.92 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003752/1.797, allocations: 1.609 MB / 0.7917 GB, free: 12.38 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004807/1.797, allocations: 77.27 kB / 0.7917 GB, free: 12.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02582/1.823, allocations: 30.14 MB / 0.8212 GB, free: 3.094 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.823, allocations: 11.38 kB / 0.8212 GB, free: 3.09 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02088/1.844, allocations: 9.3 MB / 0.8303 GB, free: 12.09 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003391/1.848, allocations: 0.9242 MB / 0.8312 GB, free: 11.25 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/1.849, allocations: 74.56 kB / 0.8312 GB, free: 11.18 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/1.851, allocations: 197.7 kB / 0.8314 GB, free: 11.04 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007518/1.852, allocations: 285.2 kB / 0.8317 GB, free: 10.87 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/1.852, allocations: 89.34 kB / 0.8318 GB, free: 10.79 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004568/1.857, allocations: 2.631 MB / 0.8344 GB, free: 8.418 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.8e-07/1.857, allocations: 0 / 0.8344 GB, free: 8.418 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006531/1.864, allocations: 1.384 MB / 0.8357 GB, free: 7.047 MB / 458.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 215 * 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.001307/1.865, allocations: 0.5717 MB / 0.8363 GB, free: 6.602 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009342/1.874, allocations: 6.176 MB / 0.8423 GB, free: 0.7852 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.874, allocations: 4.375 kB / 0.8423 GB, free: 0.7812 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01182/1.886, allocations: 5.049 MB / 0.8472 GB, free: 13.11 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007667/1.894, allocations: 1.251 MB / 0.8484 GB, free: 12.14 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/1.922, allocations: 11.05 MB / 0.8592 GB, free: 2.281 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2683/2.19, allocations: 5.098 MB / 0.8642 GB, free: 100.1 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005032/2.195, allocations: 1.038 MB / 0.8652 GB, free: 100 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009286/2.196, allocations: 269.4 kB / 0.8655 GB, free: 100 MB / 474.8 MB Notification: Performance of SimCode: time 1.663e-06/2.196, allocations: 0 / 0.8655 GB, free: 100 MB / 474.8 MB Notification: Performance of Templates: time 0.1193/2.315, allocations: 73.34 MB / 0.9371 GB, free: 89.94 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