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.001504/0.001504, allocations: 182 kB / 13.66 MB, free: 1.664 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.156/2.156, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001072/0.001072, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.365e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.09764, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.5595, allocations: 111.8 MB / 480.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.5599, allocations: 84.8 kB / 481 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9363/1.496, allocations: 182.7 MB / 0.6482 GB, free: 33.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.225e-06/1.496, allocations: 0 / 0.6482 GB, free: 33.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008519/1.497, allocations: 195.8 kB / 0.6484 GB, free: 33.09 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03458/1.532, allocations: 7.603 MB / 0.6558 GB, free: 25.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.532, allocations: 12.03 kB / 0.6558 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/1.547, allocations: 1.816 MB / 0.6576 GB, free: 23.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02499/1.572, allocations: 6.951 MB / 0.6644 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008187/1.573, allocations: 0.594 MB / 0.665 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003503/1.576, allocations: 0.7965 MB / 0.6657 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/1.613, allocations: 10.77 MB / 0.6762 GB, free: 4.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004531/1.614, allocations: 15.92 kB / 0.6763 GB, free: 4.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00304/1.617, allocations: 336 kB / 0.6766 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004206/1.617, allocations: 368.3 kB / 0.6769 GB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03153/1.649, allocations: 8.995 MB / 0.6857 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4262/2.075, allocations: 34.54 MB / 0.7194 GB, free: 45.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02917/2.104, allocations: 19.69 MB / 0.7387 GB, free: 30.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009031/2.113, allocations: 3.605 MB / 0.7422 GB, free: 30.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02885/2.142, allocations: 9.401 MB / 0.7514 GB, free: 29.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.472e-05/2.142, allocations: 77.92 kB / 0.7515 GB, free: 29.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=315): time 6.362e-06/2.142, allocations: 0 / 0.7515 GB, free: 29.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.02859/2.171, allocations: 10.03 MB / 0.7612 GB, free: 27.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/2.171, allocations: 91.27 kB / 0.7613 GB, free: 27.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009924/2.181, allocations: 3.833 MB / 0.7651 GB, free: 27.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007791/2.182, allocations: 87.36 kB / 0.7652 GB, free: 27.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002792/2.185, allocations: 3.27 MB / 0.7684 GB, free: 25.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001723/2.186, allocations: 1.085 MB / 0.7694 GB, free: 24.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004557/2.187, allocations: 77.75 kB / 0.7695 GB, free: 24.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002925/2.187, allocations: 458.5 kB / 0.7699 GB, free: 24.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004868/2.192, allocations: 1.69 MB / 0.7716 GB, free: 24.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005768/2.198, allocations: 2.711 MB / 0.7742 GB, free: 22.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006009/2.204, allocations: 2.172 MB / 0.7763 GB, free: 21.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.473e-05/2.204, allocations: 15.78 kB / 0.7764 GB, free: 21.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01625/2.22, allocations: 5.446 MB / 0.7817 GB, free: 19.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/2.22, allocations: 22.98 kB / 0.7817 GB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.164e-05/2.22, allocations: 31.22 kB / 0.7817 GB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0036/2.224, allocations: 0.803 MB / 0.7825 GB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006737/2.231, allocations: 0.8036 MB / 0.7833 GB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01957/2.251, allocations: 14.8 MB / 0.7977 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/2.257, allocations: 189.4 kB / 0.7979 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009978/2.258, allocations: 159.8 kB / 0.7981 GB, free: 7.637 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * 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.001/2.259, allocations: 342.4 kB / 0.7984 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/2.26, allocations: 464.8 kB / 0.7988 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/2.276, allocations: 5.388 MB / 0.8041 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/2.276, allocations: 31.03 kB / 0.8041 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-05/2.276, allocations: 23.58 kB / 0.8042 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.663e-05/2.276, allocations: 18.47 kB / 0.8042 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03767/2.314, allocations: 12.31 MB / 0.8162 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.37e-05/2.314, allocations: 9.125 kB / 0.8162 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003525/2.317, allocations: 376.5 kB / 0.8166 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006154/2.324, allocations: 1.362 MB / 0.8179 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006562/2.324, allocations: 94.19 kB / 0.818 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04051/2.365, allocations: 23.92 MB / 0.8414 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/2.365, allocations: 8.062 kB / 0.8414 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/2.387, allocations: 8.164 MB / 0.8493 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004009/2.391, allocations: 0.9473 MB / 0.8503 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/2.393, allocations: 81.86 kB / 0.8503 GB, free: 3.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00487/2.398, allocations: 191.7 kB / 0.8505 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001384/2.399, allocations: 321.3 kB / 0.8508 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003929/2.399, allocations: 94.75 kB / 0.8509 GB, free: 3.156 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008416/2.408, allocations: 2.92 MB / 0.8538 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.408, allocations: 0 / 0.8538 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0163/2.424, allocations: 1.916 MB / 0.8556 GB, free: 0 / 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(6,72.2%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001807/2.426, allocations: 0.5644 MB / 0.8562 GB, free: 15.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01447/2.441, allocations: 5.374 MB / 0.8614 GB, free: 10.44 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/2.441, allocations: 0 / 0.8614 GB, free: 10.44 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01105/2.452, allocations: 3.958 MB / 0.8653 GB, free: 6.746 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009471/2.461, allocations: 1.167 MB / 0.8664 GB, free: 5.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3865/2.848, allocations: 12.59 MB / 0.8787 GB, free: 91.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/2.86, allocations: 5.121 MB / 0.8837 GB, free: 90.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002189/2.862, allocations: 305 kB / 0.884 GB, free: 90.45 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/2.862, allocations: 0 / 0.884 GB, free: 90.45 MB / 474.7 MB Notification: Performance of Templates: time 1.348/4.21, allocations: 446.8 MB / 1.32 GB, free: 65.09 MB / 490.7 MB 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