Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008408/0.0008407, allocations: 94.36 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002568/0.0002568, allocations: 11.94 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.227, allocations: 50.4 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.5564, allocations: 120.4 MB / 0.5097 GB, free: 102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5567, allocations: 103.8 kB / 0.5098 GB, free: 102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5174/1.074, allocations: 160.9 MB / 0.6669 GB, free: 62.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.074, allocations: 2.906 kB / 0.6669 GB, free: 62.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002335/1.074, allocations: 94.69 kB / 0.667 GB, free: 62.43 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01005/1.084, allocations: 4.382 MB / 0.6713 GB, free: 60.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/1.085, allocations: 7.875 kB / 0.6713 GB, free: 60.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/1.089, allocations: 0.9256 MB / 0.6722 GB, free: 60.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009146/1.099, allocations: 3.837 MB / 0.6759 GB, free: 60.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/1.099, allocations: 310.5 kB / 0.6762 GB, free: 60.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009677/1.1, allocations: 396.9 kB / 0.6766 GB, free: 60.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009321/1.109, allocations: 5.141 MB / 0.6816 GB, free: 59.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.544e-05/1.109, allocations: 3.906 kB / 0.6816 GB, free: 59.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/1.11, allocations: 173.1 kB / 0.6818 GB, free: 59.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/1.11, allocations: 172.6 kB / 0.682 GB, free: 59.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006946/1.117, allocations: 4.224 MB / 0.6861 GB, free: 59.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02176/1.139, allocations: 16.86 MB / 0.7026 GB, free: 55.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/1.144, allocations: 8.418 MB / 0.7108 GB, free: 49.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006056/1.15, allocations: 4.234 MB / 0.7149 GB, free: 48.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/1.15, allocations: 52.31 kB / 0.715 GB, free: 48.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=167): time 2.766e-06/1.15, allocations: 2.906 kB / 0.715 GB, free: 48.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.0114/1.161, allocations: 6.512 MB / 0.7213 GB, free: 45.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/1.161, allocations: 71.02 kB / 0.7214 GB, free: 45.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/1.164, allocations: 1.981 MB / 0.7233 GB, free: 44.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002566/1.165, allocations: 52.8 kB / 0.7234 GB, free: 44.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000849/1.165, allocations: 1.829 MB / 0.7252 GB, free: 42.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/1.166, allocations: 0.5761 MB / 0.7257 GB, free: 42.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/1.166, allocations: 46.66 kB / 0.7258 GB, free: 42.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/1.166, allocations: 390.8 kB / 0.7261 GB, free: 42.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/1.167, allocations: 0.8685 MB / 0.727 GB, free: 41.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/1.169, allocations: 1.533 MB / 0.7285 GB, free: 40.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/1.17, allocations: 1.145 MB / 0.7296 GB, free: 40.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/1.17, allocations: 7.625 kB / 0.7296 GB, free: 40.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.003862/1.174, allocations: 2.914 MB / 0.7325 GB, free: 38.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.174, allocations: 14.69 kB / 0.7325 GB, free: 38.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.174, allocations: 20.94 kB / 0.7325 GB, free: 38.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/1.174, allocations: 128.1 kB / 0.7326 GB, free: 38.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.176, allocations: 0.5552 MB / 0.7332 GB, free: 38.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/1.177, allocations: 1.825 MB / 0.7349 GB, free: 37.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/1.179, allocations: 118.3 kB / 0.7351 GB, free: 37.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.179, allocations: 94.3 kB / 0.7351 GB, free: 37.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 270 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00182/1.181, allocations: 1.198 MB / 0.7363 GB, free: 36.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/1.181, allocations: 245 kB / 0.7365 GB, free: 36.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/1.185, allocations: 2.572 MB / 0.7391 GB, free: 35.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/1.185, allocations: 14.19 kB / 0.7391 GB, free: 35.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.185, allocations: 11.47 kB / 0.7391 GB, free: 35.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/1.185, allocations: 6.656 kB / 0.7391 GB, free: 35.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008009/1.193, allocations: 6.051 MB / 0.745 GB, free: 32.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.193, allocations: 0 / 0.745 GB, free: 32.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.194, allocations: 323.1 kB / 0.7453 GB, free: 32.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007067/1.195, allocations: 312.8 kB / 0.7456 GB, free: 32.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.195, allocations: 42.38 kB / 0.7456 GB, free: 32.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/1.2, allocations: 6.429 MB / 0.7519 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.2, allocations: 3.469 kB / 0.7519 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004773/1.205, allocations: 3.896 MB / 0.7557 GB, free: 25.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.206, allocations: 0.5038 MB / 0.7562 GB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/1.206, allocations: 34.44 kB / 0.7563 GB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.207, allocations: 99.81 kB / 0.7564 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/1.207, allocations: 123.7 kB / 0.7565 GB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/1.207, allocations: 48.34 kB / 0.7565 GB, free: 24.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001832/1.209, allocations: 1.513 MB / 0.758 GB, free: 24.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.209, allocations: 4.938 kB / 0.758 GB, free: 24.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002069/1.211, allocations: 0.7339 MB / 0.7587 GB, free: 23.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (143): * Single equations (assignments): 140 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005145/1.212, allocations: 404.3 kB / 0.7591 GB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00305/1.215, allocations: 2.333 MB / 0.7614 GB, free: 22.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.215, allocations: 5.469 kB / 0.7614 GB, free: 22.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.217, allocations: 1.508 MB / 0.7629 GB, free: 21.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.219, allocations: 0.5562 MB / 0.7634 GB, free: 21.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00989/1.229, allocations: 8.415 MB / 0.7716 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/1.231, allocations: 2.742 MB / 0.7743 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001965/1.233, allocations: 0.5596 MB / 0.7748 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/1.233, allocations: 169.7 kB / 0.775 GB, free: 11.01 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/1.233, allocations: 0 / 0.775 GB, free: 11.01 MB / 426.7 MB Notification: Performance of Templates: time 0.05387/1.287, allocations: 33.7 MB / 0.8079 GB, free: 4.43 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches