Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001843/0.001842, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.391/2.391, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0008667/0.0008669, allocations: 86.36 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005642/0.0005645, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2598, allocations: 47.58 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.3736, allocations: 112.2 MB / 487.9 MB, free: 396 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.3739, allocations: 99.92 kB / 488 MB, free: 296 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7355/1.109, allocations: 182.1 MB / 0.6545 GB, free: 49.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.11, allocations: 2.969 kB / 0.6545 GB, free: 49.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005384/1.11, allocations: 197.5 kB / 0.6547 GB, free: 49.15 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.02092/1.131, allocations: 8.263 MB / 0.6627 GB, free: 46.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.131, allocations: 10.53 kB / 0.6627 GB, free: 46.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009187/1.14, allocations: 1.834 MB / 0.6645 GB, free: 46.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/1.153, allocations: 6.358 MB / 0.6707 GB, free: 44.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007939/1.154, allocations: 0.5954 MB / 0.6713 GB, free: 44.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/1.156, allocations: 0.7819 MB / 0.6721 GB, free: 44.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02616/1.183, allocations: 11.06 MB / 0.6829 GB, free: 44.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003684/1.183, allocations: 13.66 kB / 0.6829 GB, free: 44.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002048/1.185, allocations: 335.5 kB / 0.6832 GB, free: 44.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002945/1.185, allocations: 374.8 kB / 0.6836 GB, free: 44.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/1.204, allocations: 9.312 MB / 0.6927 GB, free: 43.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05594/1.26, allocations: 34.58 MB / 0.7264 GB, free: 32.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/1.276, allocations: 19.86 MB / 0.7458 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005644/1.281, allocations: 3.76 MB / 0.7495 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01671/1.298, allocations: 9.474 MB / 0.7587 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/1.298, allocations: 76.14 kB / 0.7588 GB, free: 8.973 MB / 426.7 MB Notification: Performance of pre-optimization done (n=319): time 5.06e-06/1.298, allocations: 0 / 0.7588 GB, free: 8.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=325): time 0.03078/1.329, allocations: 15.15 MB / 0.7736 GB, free: 1.969 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.329, allocations: 84.94 kB / 0.7737 GB, free: 1.902 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.339, allocations: 4.544 MB / 0.7781 GB, free: 15.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005064/1.34, allocations: 77.7 kB / 0.7782 GB, free: 14.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002483/1.342, allocations: 3.533 MB / 0.7817 GB, free: 11.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001158/1.343, allocations: 1.091 MB / 0.7827 GB, free: 10.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003349/1.344, allocations: 77.97 kB / 0.7828 GB, free: 10.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002549/1.344, allocations: 464.6 kB / 0.7832 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/1.347, allocations: 1.804 MB / 0.785 GB, free: 8.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/1.35, allocations: 2.855 MB / 0.7878 GB, free: 5.887 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006475/1.357, allocations: 4.883 MB / 0.7926 GB, free: 1.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/1.357, allocations: 8 kB / 0.7926 GB, free: 1.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=494) (initialization): time 0.01315/1.37, allocations: 6.29 MB / 0.7987 GB, free: 12.65 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/1.37, allocations: 21.09 kB / 0.7987 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.815e-05/1.37, allocations: 32 kB / 0.7988 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/1.372, allocations: 0.8002 MB / 0.7995 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/1.375, allocations: 0.8141 MB / 0.8003 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.311/1.686, allocations: 14.93 MB / 0.8149 GB, free: 70.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00727/1.693, allocations: 186.9 kB / 0.8151 GB, free: 70.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.695, allocations: 161.7 kB / 0.8152 GB, free: 70.59 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.01127/1.706, allocations: 2.584 MB / 0.8178 GB, free: 70.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002367/1.709, allocations: 460.2 kB / 0.8182 GB, free: 70.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/1.725, allocations: 5.631 MB / 0.8237 GB, free: 69.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.445e-05/1.725, allocations: 33.59 kB / 0.8237 GB, free: 69.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.492e-05/1.725, allocations: 17.53 kB / 0.8238 GB, free: 69.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.749e-05/1.725, allocations: 18.09 kB / 0.8238 GB, free: 69.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0381/1.763, allocations: 12.6 MB / 0.8361 GB, free: 69.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/1.763, allocations: 3.719 kB / 0.8361 GB, free: 69.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/1.766, allocations: 387.9 kB / 0.8364 GB, free: 69.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007161/1.773, allocations: 1.372 MB / 0.8378 GB, free: 68.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009541/1.774, allocations: 90.05 kB / 0.8379 GB, free: 68.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04416/1.818, allocations: 24.04 MB / 0.8613 GB, free: 57.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/1.818, allocations: 11.75 kB / 0.8614 GB, free: 57.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/1.844, allocations: 8.084 MB / 0.8693 GB, free: 56.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006209/1.85, allocations: 0.9556 MB / 0.8702 GB, free: 56.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003312/1.854, allocations: 83.31 kB / 0.8703 GB, free: 56.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005772/1.86, allocations: 187.2 kB / 0.8704 GB, free: 56.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00194/1.862, allocations: 329.9 kB / 0.8708 GB, free: 56.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005317/1.862, allocations: 95.14 kB / 0.8709 GB, free: 56.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01083/1.873, allocations: 2.962 MB / 0.8737 GB, free: 56.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.51e-07/1.873, allocations: 0 / 0.8737 GB, free: 56.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01388/1.887, allocations: 1.471 MB / 0.8752 GB, free: 56.07 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.002153/1.889, allocations: 476 kB / 0.8756 GB, free: 55.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01632/1.906, allocations: 5.636 MB / 0.8811 GB, free: 54.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.167e-05/1.906, allocations: 0 / 0.8811 GB, free: 54.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01142/1.917, allocations: 4.117 MB / 0.8852 GB, free: 52.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01856/1.936, allocations: 1.201 MB / 0.8863 GB, free: 51.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0585/1.994, allocations: 17.3 MB / 0.9032 GB, free: 42.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01586/2.01, allocations: 4.978 MB / 0.9081 GB, free: 41.01 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002923/2.013, allocations: 309.2 kB / 0.9084 GB, free: 40.99 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/2.013, allocations: 0 / 0.9084 GB, free: 40.99 MB / 458.7 MB Notification: Performance of Templates: time 2.57/4.583, allocations: 477.7 MB / 1.375 GB, free: 111.4 MB / 0.4949 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches