Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.00105, allocations: 181 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.351/1.351, 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.0008684/0.0008684, allocations: 95.36 kB / 291.5 MB, free: 10.72 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002754, allocations: 11.94 kB / 351.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2604, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09631/0.3568, allocations: 77.56 MB / 479 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/0.3572, allocations: 71.97 kB / 479.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00622/0.3635, allocations: 2.228 MB / 481.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.48e-06/0.3636, allocations: 3.984 kB / 481.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.3636, allocations: 4 kB / 481.4 MB, free: 0.6328 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007322/0.3643, allocations: 391.3 kB / 481.7 MB, free: 204 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.914e-05/0.3644, allocations: 12.02 kB / 481.7 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.3645, allocations: 11.86 kB / 481.8 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.3648, allocations: 202.7 kB / 482 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3649, allocations: 4.188 kB / 482 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.3649, allocations: 12 kB / 482 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.3653, allocations: 128.6 kB / 482.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3653, allocations: 0 / 482.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3654, allocations: 11.94 kB / 482.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3654, allocations: 3.953 kB / 482.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.3656, allocations: 79.94 kB / 482.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009507/0.3666, allocations: 0.5403 MB / 482.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.3668, allocations: 78.55 kB / 482.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3668, allocations: 7.984 kB / 482.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.3669, allocations: 38.56 kB / 482.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3669, allocations: 0 / 482.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004735/0.3674, allocations: 137.9 kB / 483 MB, free: 14.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3674, allocations: 51.41 kB / 483 MB, free: 14.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3676, allocations: 132.4 kB / 483.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3676, allocations: 25.7 kB / 483.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3677, allocations: 107.9 kB / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.3678, allocations: 31.55 kB / 483.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-06/0.3678, allocations: 4 kB / 483.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.368, allocations: 318.8 kB / 483.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3681, allocations: 35.97 kB / 483.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.3683, allocations: 72.27 kB / 483.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3684, allocations: 43.98 kB / 483.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3684, allocations: 0 / 483.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003277/0.3688, allocations: 145.4 kB / 483.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.3688, allocations: 8 kB / 483.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3688, allocations: 3.938 kB / 483.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.3688, allocations: 0 / 483.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3691, allocations: 35.97 kB / 484 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.3691, allocations: 8.047 kB / 484 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.3692, allocations: 24.05 kB / 484 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3692, allocations: 4 kB / 484 MB, free: 13.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.3693, allocations: 124.7 kB / 484.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.3694, allocations: 7.906 kB / 484.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.3694, allocations: 12.38 kB / 484.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3694, allocations: 4 kB / 484.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3695, allocations: 0 / 484.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3695, allocations: 3.953 kB / 484.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.3697, allocations: 201.5 kB / 484.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3697, allocations: 3.938 kB / 484.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.3699, allocations: 23.98 kB / 484.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3699, allocations: 8 kB / 484.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3699, allocations: 0 / 484.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3699, allocations: 0 / 484.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.37, allocations: 0 / 484.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.3704, allocations: 255.3 kB / 484.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.3705, allocations: 85.05 kB / 484.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.3705, allocations: 4 kB / 484.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.677e-05/0.3707, allocations: 12 kB / 484.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.3707, allocations: 7.984 kB / 484.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3707, allocations: 0 / 484.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.708e-05/0.3708, allocations: 95.27 kB / 484.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3708, allocations: 0 / 484.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000246/0.3711, allocations: 24 kB / 484.9 MB, free: 12.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.3712, allocations: 95.25 kB / 485 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.3715, allocations: 95.88 kB / 485.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3715, allocations: 0 / 485.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3717, allocations: 44.16 kB / 485.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.372, allocations: 17.3 kB / 485.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/0.3726, allocations: 443.7 kB / 485.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3729, allocations: 0.7043 MB / 486.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.369e-05/0.3729, allocations: 12.42 kB / 486.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.373, allocations: 15.44 kB / 486.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.373, allocations: 3.938 kB / 486.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.002953/0.3759, allocations: 0.8468 MB / 487.1 MB, free: 10.45 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches