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_MultiPhase.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_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|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|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|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|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009978/0.0009977, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.459/1.459, allocations: 205.4 MB / 223.1 MB, free: 9.035 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.0008489/0.0008489, allocations: 104.1 kB / 271.5 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 4 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.268, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.3949, allocations: 114.7 MB / 490.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.3952, allocations: 91.95 kB / 490.6 MB, free: 13.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8527/1.248, allocations: 220.1 MB / 0.6941 GB, free: 31.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.248, allocations: 0 / 0.6941 GB, free: 31.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001115/1.249, allocations: 249.5 kB / 0.6944 GB, free: 31.15 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: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.03363/1.283, allocations: 10.54 MB / 0.7046 GB, free: 27.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.283, allocations: 7.125 kB / 0.7047 GB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/1.295, allocations: 2.132 MB / 0.7067 GB, free: 26.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02325/1.318, allocations: 8.954 MB / 0.7155 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001078/1.319, allocations: 0.7496 MB / 0.7162 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005091/1.324, allocations: 0.9872 MB / 0.7172 GB, free: 25.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03485/1.359, allocations: 14.07 MB / 0.7309 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003363/1.36, allocations: 13.25 kB / 0.7309 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002703/1.362, allocations: 425 kB / 0.7313 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003953/1.363, allocations: 460.8 kB / 0.7318 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02639/1.389, allocations: 11.84 MB / 0.7433 GB, free: 20.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07742/1.467, allocations: 44.15 MB / 0.7865 GB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.277/1.744, allocations: 25.3 MB / 0.8112 GB, free: 39.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02329/1.767, allocations: 10.1 MB / 0.821 GB, free: 38.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.123e-05/1.767, allocations: 83.95 kB / 0.8211 GB, free: 38.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=455): time 7.083e-06/1.767, allocations: 0 / 0.8211 GB, free: 38.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=463): time 0.05558/1.823, allocations: 23.2 MB / 0.8438 GB, free: 35.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/1.823, allocations: 98.23 kB / 0.8439 GB, free: 35.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009957/1.833, allocations: 4.699 MB / 0.8484 GB, free: 34.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001044/1.834, allocations: 108.4 kB / 0.8485 GB, free: 34.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003018/1.837, allocations: 4.375 MB / 0.8528 GB, free: 33.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002141/1.839, allocations: 1.536 MB / 0.8543 GB, free: 32.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003883/1.84, allocations: 100.3 kB / 0.8544 GB, free: 32.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002978/1.84, allocations: 0.498 MB / 0.8549 GB, free: 31.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003886/1.844, allocations: 2.523 MB / 0.8574 GB, free: 31.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004639/1.848, allocations: 3.608 MB / 0.8609 GB, free: 30.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005167/1.854, allocations: 3.069 MB / 0.8639 GB, free: 30.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.844e-05/1.854, allocations: 9.922 kB / 0.8639 GB, free: 30.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=638) (initialization): time 0.01578/1.87, allocations: 8.349 MB / 0.8721 GB, free: 29.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/1.87, allocations: 21.88 kB / 0.8721 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-05/1.87, allocations: 29.94 kB / 0.8721 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/1.873, allocations: 1.519 MB / 0.8736 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/1.878, allocations: 1.03 MB / 0.8746 GB, free: 29.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02182/1.9, allocations: 27.57 MB / 0.9015 GB, free: 6.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005494/1.906, allocations: 243.9 kB / 0.9017 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000999/1.907, allocations: 195.8 kB / 0.9019 GB, free: 6.383 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 138 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 531 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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: 14 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 25,(2,100.0%) 6,(2,100.0%) 6,(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.00878/1.915, allocations: 3.293 MB / 0.9052 GB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002055/1.917, allocations: 0.5804 MB / 0.9057 GB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/1.932, allocations: 8.364 MB / 0.9139 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.448e-05/1.932, allocations: 43 kB / 0.9139 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.243e-05/1.932, allocations: 28.16 kB / 0.914 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.493e-05/1.932, allocations: 21.09 kB / 0.914 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03642/1.968, allocations: 17.88 MB / 0.9314 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/1.968, allocations: 6 kB / 0.9314 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/1.971, allocations: 0.5158 MB / 0.9319 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005523/1.977, allocations: 2.274 MB / 0.9342 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007461/1.977, allocations: 100.2 kB / 0.9343 GB, free: 8.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0388/2.016, allocations: 35.55 MB / 0.969 GB, free: 8.527 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/2.016, allocations: 4 kB / 0.969 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2814/2.298, allocations: 13.47 MB / 0.9821 GB, free: 93.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005607/2.303, allocations: 1.244 MB / 0.9834 GB, free: 93.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001542/2.305, allocations: 91 kB / 0.9834 GB, free: 93.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/2.308, allocations: 263.2 kB / 0.9837 GB, free: 93.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009543/2.309, allocations: 466.8 kB / 0.9841 GB, free: 93.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002606/2.309, allocations: 124.5 kB / 0.9843 GB, free: 93.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005142/2.314, allocations: 3.611 MB / 0.9878 GB, free: 93.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.314, allocations: 0 / 0.9878 GB, free: 93.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006787/2.321, allocations: 1.934 MB / 0.9897 GB, free: 93.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,aims3.rotor.zeroInductor.i0,loadInertiaM.w,loadInertia3.w,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (277): * Single equations (assignments): 264 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(11,49.6%) 56,(1,100.0%) 1,(6,72.2%) 46,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/2.322, allocations: 0.5671 MB / 0.9902 GB, free: 93.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01068/2.333, allocations: 8.279 MB / 0.9983 GB, free: 91.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/2.333, allocations: 0 / 0.9983 GB, free: 91.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008678/2.342, allocations: 6.028 MB / 1.004 GB, free: 90.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008659/2.35, allocations: 1.603 MB / 1.006 GB, free: 90.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05226/2.403, allocations: 22.38 MB / 1.028 GB, free: 81.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01344/2.416, allocations: 6.568 MB / 1.034 GB, free: 80.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007187/2.423, allocations: 1.302 MB / 1.035 GB, free: 79.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/2.425, allocations: 342.2 kB / 1.036 GB, free: 79.87 MB / 490.7 MB Notification: Performance of SimCode: time 3.356e-06/2.425, allocations: 0 / 1.036 GB, free: 79.87 MB / 490.7 MB Notification: Performance of Templates: time 0.1623/2.588, allocations: 97.5 MB / 1.131 GB, free: 29.43 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase_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_MultiPhase/AIMS_Start_MultiPhase.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches