Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 176.9 kB / 17.4 MB, free: 4.289 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.444/1.444, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.0008934/0.0008938, allocations: 97.11 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003761, allocations: 15.94 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2967, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4363, allocations: 76.56 MB / 479.3 MB, free: 3.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/0.4367, allocations: 75.95 kB / 479.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004477/0.4412, allocations: 1.279 MB / 480.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4412, allocations: 3.938 kB / 480.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4412, allocations: 0 / 480.7 MB, free: 2.453 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004844/0.4417, allocations: 359.3 kB / 481 MB, free: 2.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.4418, allocations: 11.97 kB / 481 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.4419, allocations: 8.844 kB / 481 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.4422, allocations: 188.1 kB / 481.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4422, allocations: 10.92 kB / 481.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.4422, allocations: 8.312 kB / 481.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.4426, allocations: 135.8 kB / 481.4 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4427, allocations: 192 / 481.4 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.4427, allocations: 11.88 kB / 481.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.4427, allocations: 0 / 481.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.955e-05/0.4428, allocations: 12 kB / 481.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.443, allocations: 173.5 kB / 481.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.4432, allocations: 66.66 kB / 481.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.4433, allocations: 41.05 kB / 481.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.4433, allocations: 0 / 481.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4434, allocations: 42.55 kB / 481.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.4434, allocations: 0 / 481.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002838/0.4437, allocations: 89.47 kB / 481.8 MB, free: 1.145 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.4438, allocations: 55.41 kB / 481.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.444, allocations: 140.2 kB / 482 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.444, allocations: 29.7 kB / 482 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.4441, allocations: 88.14 kB / 482.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.4441, allocations: 4 kB / 482.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.4441, allocations: 0 / 482.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4443, allocations: 322.8 kB / 482.4 MB, free: 492 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.4443, allocations: 4 kB / 482.4 MB, free: 488 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.4444, allocations: 59.17 kB / 482.5 MB, free: 404 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.4445, allocations: 70.75 kB / 482.6 MB, free: 308 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4445, allocations: 4 kB / 482.6 MB, free: 304 kB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002039/0.4447, allocations: 93.39 kB / 482.6 MB, free: 204 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.4448, allocations: 7.938 kB / 482.7 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4448, allocations: 4 kB / 482.7 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4448, allocations: 256 / 482.7 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4449, allocations: 20 kB / 482.7 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.445, allocations: 7.922 kB / 482.7 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.445, allocations: 8 kB / 482.7 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.4451, allocations: 4 kB / 482.7 MB, free: 152 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.00013/0.4452, allocations: 121.8 kB / 482.8 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.4454, allocations: 77.53 kB / 482.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.4454, allocations: 8.719 kB / 482.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4454, allocations: 4 kB / 482.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4455, allocations: 4.188 kB / 482.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.4455, allocations: 3.984 kB / 482.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.4456, allocations: 177.5 kB / 483.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4457, allocations: 3.938 kB / 483.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.4457, allocations: 12 kB / 483.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.4458, allocations: 3.938 kB / 483.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4458, allocations: 4 kB / 483.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4458, allocations: 4 kB / 483.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4458, allocations: 4 kB / 483.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.446, allocations: 101 kB / 483.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.4461, allocations: 97 kB / 483.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.4462, allocations: 3.938 kB / 483.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.4462, allocations: 4 kB / 483.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.4462, allocations: 0 / 483.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.4462, allocations: 4 kB / 483.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.4463, allocations: 109.6 kB / 483.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4464, allocations: 4 kB / 483.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003688/0.4467, allocations: 4 kB / 483.4 MB, free: 15.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001558/0.4469, allocations: 107.2 kB / 483.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.4471, allocations: 39.92 kB / 483.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4471, allocations: 4 kB / 483.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.4471, allocations: 0 / 483.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.4475, allocations: 39.95 kB / 483.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.448, allocations: 179.9 kB / 483.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.4484, allocations: 0.6926 MB / 484.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.579e-05/0.4484, allocations: 4 kB / 484.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.4485, allocations: 15.42 kB / 484.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4485, allocations: 7.938 kB / 484.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003558/0.452, allocations: 0.5407 MB / 485.1 MB, free: 13.62 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches