Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_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.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 183.6 kB / 18.04 MB, free: 3.781 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.275/1.275, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007688/0.000769, allocations: 85.61 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004188, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2134, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.3303, allocations: 112.2 MB / 489.2 MB, free: 272 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.3306, allocations: 91.94 kB / 489.3 MB, free: 180 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7774/1.108, allocations: 182.2 MB / 0.6558 GB, free: 49.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.108, allocations: 0 / 0.6558 GB, free: 49.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005475/1.109, allocations: 196.8 kB / 0.6559 GB, free: 49.26 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02192/1.13, allocations: 8.257 MB / 0.664 GB, free: 46.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.131, allocations: 9.531 kB / 0.664 GB, free: 46.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009371/1.14, allocations: 1.838 MB / 0.6658 GB, free: 46.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.153, allocations: 6.359 MB / 0.672 GB, free: 45.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004338/1.153, allocations: 0.5934 MB / 0.6726 GB, free: 45.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002383/1.155, allocations: 0.7908 MB / 0.6734 GB, free: 45.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/1.177, allocations: 11.05 MB / 0.6842 GB, free: 44.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/1.177, allocations: 15.03 kB / 0.6842 GB, free: 44.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009573/1.178, allocations: 338 kB / 0.6845 GB, free: 44.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/1.178, allocations: 371.3 kB / 0.6848 GB, free: 44.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/1.196, allocations: 9.312 MB / 0.6939 GB, free: 44.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05344/1.25, allocations: 34.59 MB / 0.7277 GB, free: 32.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/1.264, allocations: 19.85 MB / 0.7471 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005196/1.269, allocations: 3.755 MB / 0.7508 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/1.285, allocations: 9.474 MB / 0.76 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/1.285, allocations: 68.8 kB / 0.7601 GB, free: 9.012 MB / 426.7 MB Notification: Performance of pre-optimization done (n=319): time 5.36e-06/1.285, allocations: 3.75 kB / 0.7601 GB, free: 9.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=325): time 0.03012/1.315, allocations: 15.14 MB / 0.7749 GB, free: 2.012 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/1.315, allocations: 86.19 kB / 0.775 GB, free: 1.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0118/1.327, allocations: 4.595 MB / 0.7795 GB, free: 15.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006302/1.328, allocations: 77.7 kB / 0.7795 GB, free: 14.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002563/1.33, allocations: 3.536 MB / 0.783 GB, free: 11.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.332, allocations: 1.088 MB / 0.784 GB, free: 10.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/1.332, allocations: 76 kB / 0.7841 GB, free: 10.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002387/1.332, allocations: 462.6 kB / 0.7846 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/1.335, allocations: 1.807 MB / 0.7863 GB, free: 8.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/1.339, allocations: 2.855 MB / 0.7891 GB, free: 5.887 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007392/1.346, allocations: 4.884 MB / 0.7939 GB, free: 1.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-05/1.346, allocations: 8 kB / 0.7939 GB, free: 1.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=494) (initialization): time 0.01428/1.36, allocations: 6.289 MB / 0.8 GB, free: 12.65 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/1.36, allocations: 20 kB / 0.8 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.566e-05/1.361, allocations: 32 kB / 0.8001 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/1.363, allocations: 0.8002 MB / 0.8009 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/1.366, allocations: 0.8173 MB / 0.8017 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2137/1.579, allocations: 14.92 MB / 0.8162 GB, free: 70.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/1.583, allocations: 192.4 kB / 0.8164 GB, free: 70.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005614/1.584, allocations: 160.5 kB / 0.8166 GB, free: 70.74 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (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 (431): * Single equations (assignments): 422 * 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: 7 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00491/1.589, allocations: 2.594 MB / 0.8191 GB, free: 70.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.59, allocations: 458.1 kB / 0.8195 GB, free: 70.63 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00886/1.599, allocations: 5.63 MB / 0.825 GB, free: 70.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.599, allocations: 27.84 kB / 0.8251 GB, free: 70.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.382e-05/1.599, allocations: 21.72 kB / 0.8251 GB, free: 70.13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-05/1.599, allocations: 13.41 kB / 0.8251 GB, free: 70.13 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/1.619, allocations: 12.61 MB / 0.8374 GB, free: 69.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/1.619, allocations: 3.875 kB / 0.8374 GB, free: 69.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.62, allocations: 378.4 kB / 0.8378 GB, free: 69.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003293/1.624, allocations: 1.371 MB / 0.8391 GB, free: 69.08 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004989/1.624, allocations: 88.92 kB / 0.8392 GB, free: 69.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02147/1.646, allocations: 24.06 MB / 0.8627 GB, free: 57.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.646, allocations: 13.55 kB / 0.8627 GB, free: 57.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.657, allocations: 8.083 MB / 0.8706 GB, free: 56.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00237/1.66, allocations: 0.9502 MB / 0.8715 GB, free: 56.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008666/1.661, allocations: 82.44 kB / 0.8716 GB, free: 56.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/1.663, allocations: 190.7 kB / 0.8718 GB, free: 56.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007485/1.664, allocations: 329.2 kB / 0.8721 GB, free: 56.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/1.664, allocations: 95.34 kB / 0.8722 GB, free: 56.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004119/1.668, allocations: 2.963 MB / 0.8751 GB, free: 56.22 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.373e-06/1.668, allocations: 0 / 0.8751 GB, free: 56.22 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005011/1.673, allocations: 1.474 MB / 0.8765 GB, free: 56.22 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (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 (197): * Single equations (assignments): 188 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008285/1.674, allocations: 473.1 kB / 0.877 GB, free: 56.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00726/1.681, allocations: 5.636 MB / 0.8825 GB, free: 54.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.681, allocations: 0 / 0.8825 GB, free: 54.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005224/1.686, allocations: 4.127 MB / 0.8865 GB, free: 52.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008087/1.694, allocations: 1.198 MB / 0.8877 GB, free: 52.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.719, allocations: 17.34 MB / 0.9046 GB, free: 42.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0055/1.724, allocations: 5.097 MB / 0.9096 GB, free: 41.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003825/1.728, allocations: 1.013 MB / 0.9106 GB, free: 40.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/1.729, allocations: 276.2 kB / 0.9108 GB, free: 40.87 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/1.729, allocations: 0 / 0.9108 GB, free: 40.87 MB / 458.7 MB Notification: Performance of Templates: time 0.3422/2.071, allocations: 72.42 MB / 0.9816 GB, free: 68.3 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_DOL_MultiPhase/AIMC_DOL_MultiPhase.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches