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.0009222/0.0009222, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.5 MB / 230.3 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008224, allocations: 92.52 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.181e-05/1.183e-05, allocations: 0 / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.08894, allocations: 50.42 MB / 387.4 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/0.3912, allocations: 76.82 MB / 464.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.3915, allocations: 70.33 kB / 464.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005982/0.3974, allocations: 2.205 MB / 466.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3975, allocations: 0.75 kB / 466.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3975, allocations: 4 kB / 466.6 MB, free: 15.76 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.0004731/0.398, allocations: 391 kB / 466.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.398, allocations: 8.031 kB / 466.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.3981, allocations: 11.86 kB / 467 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.3983, allocations: 194.9 kB / 467.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3983, allocations: 0 / 467.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.3983, allocations: 12 kB / 467.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001217/0.3985, allocations: 44.25 kB / 467.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.3986, allocations: 92.5 kB / 467.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3986, allocations: 0 / 467.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3986, allocations: 7.953 kB / 467.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.3987, allocations: 7.984 kB / 467.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.3993, allocations: 0.5097 MB / 467.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.3995, allocations: 58.58 kB / 467.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.3995, allocations: 24.86 kB / 467.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.3995, allocations: 0 / 467.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3996, allocations: 38.7 kB / 467.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.3996, allocations: 3.938 kB / 467.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001679/0.3998, allocations: 61.69 kB / 468 MB, free: 14.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.3998, allocations: 51.41 kB / 468 MB, free: 14.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3999, allocations: 118.2 kB / 468.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.3999, allocations: 25.7 kB / 468.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.4, allocations: 111.9 kB / 468.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.4, allocations: 27.55 kB / 468.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.4, allocations: 0 / 468.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4001, allocations: 330.8 kB / 468.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.4002, allocations: 20 kB / 468.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.4002, allocations: 48.23 kB / 468.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.4003, allocations: 23.98 kB / 468.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4003, allocations: 4 kB / 468.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001558/0.4004, allocations: 101.5 kB / 468.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.4005, allocations: 4 kB / 468.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4005, allocations: 0 / 468.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4005, allocations: 4 kB / 468.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.4007, allocations: 35.97 kB / 468.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4007, allocations: 3.938 kB / 468.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.4008, allocations: 20.05 kB / 468.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4008, allocations: 8.094 kB / 468.9 MB, free: 13.15 MB / 346.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 () * 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 6.456e-05/0.4009, allocations: 112.9 kB / 469 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.4009, allocations: 7.906 kB / 469 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.4009, allocations: 12.62 kB / 469 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.401, allocations: 0 / 469 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.401, allocations: 0 / 469 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.401, allocations: 0 / 469 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.4011, allocations: 178 kB / 469.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4011, allocations: 0 / 469.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.4013, allocations: 23.98 kB / 469.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4013, allocations: 0 / 469.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.4013, allocations: 0 / 469.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4013, allocations: 4 kB / 469.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4013, allocations: 3.938 kB / 469.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.4015, allocations: 191.4 kB / 469.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.4016, allocations: 84.97 kB / 469.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4016, allocations: 7.969 kB / 469.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.4017, allocations: 8 kB / 469.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.4017, allocations: 7.984 kB / 469.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4018, allocations: 4 kB / 469.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.523e-05/0.4018, allocations: 96.62 kB / 469.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4018, allocations: 0 / 469.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000229/0.402, allocations: 16 kB / 469.7 MB, free: 12.34 MB / 346.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 () * 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.0001029/0.4022, allocations: 103.2 kB / 469.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.4023, allocations: 47.94 kB / 469.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4023, allocations: 0 / 469.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.4023, allocations: 27.94 kB / 469.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.4026, allocations: 17.62 kB / 469.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.4031, allocations: 259 kB / 470.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.4033, allocations: 0.7041 MB / 470.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.162e-05/0.4033, allocations: 8.422 kB / 470.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.4034, allocations: 11.44 kB / 470.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4034, allocations: 0 / 470.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of Templates: time 0.002625/0.406, allocations: 0.8081 MB / 471.6 MB, free: 10.3 MB / 346.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