Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001016, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008172/0.0008175, allocations: 103.5 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.464e-05, allocations: 0 / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.09823, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3183/0.4165, allocations: 76.69 MB / 471.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.4168, allocations: 72.16 kB / 471.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002766/0.4195, allocations: 1.303 MB / 473.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4196, allocations: 4 kB / 473.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.4196, allocations: 0 / 473.2 MB, free: 13.74 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.0002036/0.4198, allocations: 346.2 kB / 473.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.4198, allocations: 10.78 kB / 473.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.4199, allocations: 13.38 kB / 473.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.42, allocations: 192.8 kB / 473.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.42, allocations: 4.859 kB / 473.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.42, allocations: 4 kB / 473.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.539e-05/0.4201, allocations: 21.06 kB / 473.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.4203, allocations: 135.2 kB / 473.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4203, allocations: 3.984 kB / 473.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.4203, allocations: 0 / 473.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.4203, allocations: 0 / 473.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.163e-05/0.4204, allocations: 157.2 kB / 474.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.4205, allocations: 70.17 kB / 474.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.4206, allocations: 37.44 kB / 474.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.4206, allocations: 0 / 474.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.4206, allocations: 39.17 kB / 474.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.4206, allocations: 0 / 474.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001294/0.4208, allocations: 77.64 kB / 474.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.4208, allocations: 55.41 kB / 474.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.4209, allocations: 123.7 kB / 474.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.4209, allocations: 25.7 kB / 474.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.79e-05/0.4209, allocations: 89.11 kB / 474.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.4209, allocations: 5.406 kB / 474.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.421, allocations: 0 / 474.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.713e-05/0.421, allocations: 320.5 kB / 474.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.421, allocations: 11.62 kB / 474.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.421, allocations: 55.81 kB / 475 MB, free: 11.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.4211, allocations: 18.41 kB / 475 MB, free: 11.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4211, allocations: 0 / 475 MB, free: 11.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.858e-05/0.4212, allocations: 78.47 kB / 475.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.4212, allocations: 4.75 kB / 475.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4212, allocations: 6.891 kB / 475.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4212, allocations: 12.14 kB / 475.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.4213, allocations: 25.41 kB / 475.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4213, allocations: 0.8906 kB / 475.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.4213, allocations: 7.906 kB / 475.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4214, allocations: 4 kB / 475.1 MB, free: 11.81 MB / 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * 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 4.811e-05/0.4214, allocations: 110.4 kB / 475.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.4215, allocations: 80.7 kB / 475.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.4215, allocations: 12.75 kB / 475.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4215, allocations: 0.75 kB / 475.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4215, allocations: 7.953 kB / 475.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4215, allocations: 0.6562 kB / 475.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.43e-05/0.4216, allocations: 147 kB / 475.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4216, allocations: 0.5625 kB / 475.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.4217, allocations: 13.92 kB / 475.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4217, allocations: 0 / 475.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.4217, allocations: 0 / 475.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4217, allocations: 0.6562 kB / 475.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4217, allocations: 0 / 475.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.906e-05/0.4218, allocations: 106.8 kB / 475.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.4218, allocations: 97.5 kB / 475.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.4219, allocations: 4 kB / 475.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.137e-05/0.4219, allocations: 0.7031 kB / 475.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.4219, allocations: 3.938 kB / 475.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.4219, allocations: 0 / 475.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.914e-05/0.4219, allocations: 107 kB / 475.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.422, allocations: 0 / 475.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.4222, allocations: 8.797 kB / 475.8 MB, free: 11.12 MB / 346.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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * 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 6.816e-05/0.4222, allocations: 101.5 kB / 475.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.398e-05/0.4223, allocations: 44.53 kB / 476 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4223, allocations: 0 / 476 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-07/0.4223, allocations: 0 / 476 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.4225, allocations: 43.31 kB / 476 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/0.4227, allocations: 118.2 kB / 476.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.4228, allocations: 0.7006 MB / 476.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.274e-05/0.4229, allocations: 6.172 kB / 476.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.4229, allocations: 15.38 kB / 476.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4229, allocations: 0 / 476.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of Templates: time 0.002305/0.4252, allocations: 0.594 MB / 477.5 MB, free: 9.781 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches