Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 199.5 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007648/0.0007648, allocations: 104.1 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002099/0.00021, allocations: 7.984 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1849, allocations: 51.28 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2585/0.4434, allocations: 116 MB / 0.5124 GB, free: 99.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4437, allocations: 88.23 kB / 0.5124 GB, free: 99.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1877/0.6314, allocations: 86.18 MB / 0.5966 GB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.6314, allocations: 0 / 0.5966 GB, free: 14.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001465/0.6316, allocations: 79.88 kB / 0.5967 GB, free: 14.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.005059/0.6367, allocations: 3.154 MB / 0.5998 GB, free: 11.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.6367, allocations: 12.03 kB / 0.5998 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.6381, allocations: 492.6 kB / 0.6002 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.6409, allocations: 2.031 MB / 0.6022 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-05/0.641, allocations: 201.7 kB / 0.6024 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.6414, allocations: 280.2 kB / 0.6027 GB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004572/0.6459, allocations: 3.526 MB / 0.6061 GB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.959e-05/0.646, allocations: 4 kB / 0.6061 GB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/0.6463, allocations: 108 kB / 0.6062 GB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.962e-05/0.6463, allocations: 117.3 kB / 0.6063 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/0.6504, allocations: 2.855 MB / 0.6091 GB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/0.6655, allocations: 11.24 MB / 0.6201 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.6683, allocations: 2.334 MB / 0.6224 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.6699, allocations: 1.055 MB / 0.6234 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/0.6702, allocations: 227.5 kB / 0.6236 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.6703, allocations: 51.81 kB / 0.6237 GB, free: 2.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=134): time 3.516e-06/0.6703, allocations: 3.938 kB / 0.6237 GB, free: 2.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=158): time 0.01781/0.6881, allocations: 8.561 MB / 0.632 GB, free: 9.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.6882, allocations: 72.72 kB / 0.6321 GB, free: 9.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/0.6908, allocations: 1.952 MB / 0.634 GB, free: 7.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.6909, allocations: 53.64 kB / 0.6341 GB, free: 7.531 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008216/0.6918, allocations: 1.304 MB / 0.6353 GB, free: 6.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/0.6922, allocations: 0.5353 MB / 0.6359 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.6923, allocations: 32 kB / 0.6359 GB, free: 5.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6924, allocations: 385.8 kB / 0.6363 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.694, allocations: 0.9408 MB / 0.6372 GB, free: 4.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.6957, allocations: 1.415 MB / 0.6386 GB, free: 2.711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/0.6992, allocations: 2.489 MB / 0.641 GB, free: 32 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.6992, allocations: 4 kB / 0.641 GB, free: 28 kB / 410.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005715/0.7049, allocations: 3.168 MB / 0.6441 GB, free: 12.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.705, allocations: 19.92 kB / 0.6441 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/0.705, allocations: 16 kB / 0.6441 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.7066, allocations: 0.6244 MB / 0.6447 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.7083, allocations: 439.3 kB / 0.6452 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007755/0.7161, allocations: 5.737 MB / 0.6508 GB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.718, allocations: 127.8 kB / 0.6509 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.7182, allocations: 79.92 kB / 0.651 GB, free: 5.672 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (197): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001797/0.72, allocations: 0.8564 MB / 0.6518 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/0.7206, allocations: 209.5 kB / 0.652 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005278/0.7259, allocations: 2.85 MB / 0.6548 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.7259, allocations: 16 kB / 0.6548 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.726, allocations: 12.12 kB / 0.6548 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.726, allocations: 7.969 kB / 0.6548 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.7362, allocations: 5.907 MB / 0.6606 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/0.7363, allocations: 4 kB / 0.6606 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.7375, allocations: 287.9 kB / 0.6609 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/0.7395, allocations: 0.6925 MB / 0.6615 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.7396, allocations: 35.98 kB / 0.6616 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009271/0.7489, allocations: 7.453 MB / 0.6688 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.749, allocations: 4 kB / 0.6688 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1716/0.9205, allocations: 4.158 MB / 0.6729 GB, free: 98.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.9217, allocations: 0.4924 MB / 0.6734 GB, free: 98.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.922, allocations: 42.92 kB / 0.6734 GB, free: 98.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.9231, allocations: 112.2 kB / 0.6735 GB, free: 98.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/0.9234, allocations: 129.8 kB / 0.6737 GB, free: 98.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.9235, allocations: 43.03 kB / 0.6737 GB, free: 98.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001734/0.9252, allocations: 1.339 MB / 0.675 GB, free: 97.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9252, allocations: 0 / 0.675 GB, free: 97.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001845/0.9271, allocations: 0.6827 MB / 0.6757 GB, free: 97.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.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 (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005159/0.9276, allocations: 345.9 kB / 0.676 GB, free: 97.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004089/0.9317, allocations: 2.802 MB / 0.6787 GB, free: 97.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9317, allocations: 2.844 kB / 0.6787 GB, free: 97.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.9342, allocations: 1.755 MB / 0.6805 GB, free: 97.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.937, allocations: 487.2 kB / 0.6809 GB, free: 97.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00873/0.9458, allocations: 6.803 MB / 0.6876 GB, free: 94.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.9473, allocations: 2.129 MB / 0.6896 GB, free: 93.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007061/0.948, allocations: 147.2 kB / 0.6898 GB, free: 93.84 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.948, allocations: 0 / 0.6898 GB, free: 93.84 MB / 442.7 MB Notification: Performance of Templates: time 0.0547/1.003, allocations: 63.21 MB / 0.7515 GB, free: 68.73 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches