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.00119/0.00119, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009301/0.0009297, allocations: 90.22 kB / 262.5 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.422e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.09882, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.4643, allocations: 128.4 MB / 491.5 MB, free: 284 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.4646, allocations: 92.75 kB / 491.6 MB, free: 236 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5181/0.9828, allocations: 148.3 MB / 0.6248 GB, free: 61.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.506e-06/0.9828, allocations: 0 / 0.6248 GB, free: 61.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007085/0.9835, allocations: 191 kB / 0.625 GB, free: 61.18 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.02212/1.006, allocations: 6.55 MB / 0.6314 GB, free: 54.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.006, allocations: 12.03 kB / 0.6314 GB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007872/1.014, allocations: 1.24 MB / 0.6326 GB, free: 53.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/1.029, allocations: 6.233 MB / 0.6387 GB, free: 47.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/1.03, allocations: 220 kB / 0.6389 GB, free: 46.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/1.032, allocations: 403.8 kB / 0.6393 GB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01573/1.048, allocations: 7.025 MB / 0.6462 GB, free: 39.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02434/1.073, allocations: 8.194 MB / 0.6542 GB, free: 30.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003661/1.073, allocations: 11.84 kB / 0.6542 GB, free: 30.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002558/1.076, allocations: 8 kB / 0.6542 GB, free: 30.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000269/1.076, allocations: 293.4 kB / 0.6545 GB, free: 30.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0536/1.129, allocations: 28.16 MB / 0.682 GB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2469/1.376, allocations: 11.57 MB / 0.6933 GB, free: 51.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005391/1.382, allocations: 3.157 MB / 0.6964 GB, free: 51.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01512/1.397, allocations: 6.595 MB / 0.7028 GB, free: 50.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/1.397, allocations: 69.81 kB / 0.7029 GB, free: 50.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=306): time 5.56e-06/1.397, allocations: 3.938 kB / 0.7029 GB, free: 50.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=325): time 0.02076/1.418, allocations: 11.05 MB / 0.7137 GB, free: 48.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/1.418, allocations: 82.44 kB / 0.7137 GB, free: 48.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0045/1.422, allocations: 2.795 MB / 0.7165 GB, free: 48.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005955/1.423, allocations: 25.7 kB / 0.7165 GB, free: 48.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/1.425, allocations: 3.079 MB / 0.7195 GB, free: 47.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.426, allocations: 1.05 MB / 0.7205 GB, free: 46.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/1.426, allocations: 5.719 kB / 0.7205 GB, free: 46.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/1.426, allocations: 457.3 kB / 0.721 GB, free: 46.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/1.428, allocations: 1.715 MB / 0.7227 GB, free: 46.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/1.431, allocations: 2.607 MB / 0.7252 GB, free: 45.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/1.434, allocations: 2.261 MB / 0.7274 GB, free: 45.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/1.434, allocations: 7.062 kB / 0.7274 GB, free: 45.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.008671/1.443, allocations: 5.917 MB / 0.7332 GB, free: 44.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/1.443, allocations: 14.72 kB / 0.7332 GB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/1.443, allocations: 28.47 kB / 0.7332 GB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/1.445, allocations: 1.218 MB / 0.7344 GB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/1.448, allocations: 0.8122 MB / 0.7352 GB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/1.461, allocations: 19.84 MB / 0.7546 GB, free: 29.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/1.465, allocations: 122.3 kB / 0.7547 GB, free: 29.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000501/1.465, allocations: 148.5 kB / 0.7549 GB, free: 29.05 MB / 410.7 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.0006539/1.466, allocations: 210.9 kB / 0.7551 GB, free: 28.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008592/1.467, allocations: 403.7 kB / 0.7554 GB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008631/1.475, allocations: 5.756 MB / 0.7611 GB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.475, allocations: 31.41 kB / 0.7611 GB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/1.475, allocations: 19.47 kB / 0.7611 GB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/1.476, allocations: 14.72 kB / 0.7611 GB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/1.496, allocations: 11.21 MB / 0.7721 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.496, allocations: 5.891 kB / 0.7721 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/1.498, allocations: 456 kB / 0.7725 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003457/1.502, allocations: 1.563 MB / 0.774 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004686/1.502, allocations: 29.83 kB / 0.7741 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02063/1.523, allocations: 28.96 MB / 0.8024 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.523, allocations: 10.58 kB / 0.8024 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/1.537, allocations: 8.649 MB / 0.8108 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003058/1.54, allocations: 0.8651 MB / 0.8117 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009459/1.541, allocations: 23.28 kB / 0.8117 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/1.543, allocations: 145.5 kB / 0.8118 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008102/1.544, allocations: 277.7 kB / 0.8121 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002438/1.544, allocations: 94.89 kB / 0.8122 GB, free: 6.488 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003952/1.548, allocations: 2.077 MB / 0.8142 GB, free: 4.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.548, allocations: 0 / 0.8142 GB, free: 4.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007289/1.555, allocations: 1.204 MB / 0.8154 GB, free: 3.473 MB / 426.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 () * 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.00135/1.557, allocations: 468 kB / 0.8158 GB, free: 3.152 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00943/1.566, allocations: 5.908 MB / 0.8216 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/1.566, allocations: 3 kB / 0.8216 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006988/1.573, allocations: 4.524 MB / 0.826 GB, free: 9.422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006262/1.579, allocations: 0.9545 MB / 0.8269 GB, free: 8.695 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/1.602, allocations: 10.81 MB / 0.8375 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005182/1.607, allocations: 4.61 MB / 0.842 GB, free: 11.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004442/1.612, allocations: 0.9775 MB / 0.843 GB, free: 11.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008456/1.613, allocations: 245.7 kB / 0.8432 GB, free: 10.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.442e-06/1.613, allocations: 0 / 0.8432 GB, free: 10.8 MB / 458.7 MB Notification: Performance of Templates: time 0.382/1.995, allocations: 57.91 MB / 0.8997 GB, free: 91.91 MB / 458.7 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