Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000949/0.000949, allocations: 202.1 kB / 8.768 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.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009272/0.0009273, allocations: 93.78 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.074e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.0932, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.4296, allocations: 76.6 MB / 471.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.4298, allocations: 77.73 kB / 471.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002764/0.4326, allocations: 1.263 MB / 473.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4326, allocations: 0 / 473.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.4326, allocations: 2.812 kB / 473.1 MB, free: 13.87 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.0002171/0.4328, allocations: 354.4 kB / 473.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.4329, allocations: 12.03 kB / 473.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.4329, allocations: 10.12 kB / 473.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.4331, allocations: 186.5 kB / 473.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.4331, allocations: 0.8594 kB / 473.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.4331, allocations: 4 kB / 473.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.258e-05/0.4332, allocations: 18.31 kB / 473.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.4334, allocations: 120.6 kB / 473.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4334, allocations: 3.984 kB / 473.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.4334, allocations: 0 / 473.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4334, allocations: 4 kB / 473.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.812e-05/0.4335, allocations: 151 kB / 474 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.561e-05/0.4336, allocations: 57.88 kB / 474 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.4336, allocations: 32.98 kB / 474 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.4337, allocations: 0 / 474 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.4337, allocations: 46.14 kB / 474.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.4337, allocations: 0 / 474.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001274/0.4338, allocations: 63.66 kB / 474.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.4339, allocations: 51.41 kB / 474.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.434, allocations: 126.1 kB / 474.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.434, allocations: 25.7 kB / 474.3 MB, free: 12.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.72e-05/0.434, allocations: 88.64 kB / 474.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.434, allocations: 5.547 kB / 474.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.434, allocations: 0 / 474.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.4341, allocations: 316.4 kB / 474.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.4341, allocations: 7 kB / 474.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/0.4341, allocations: 62.7 kB / 474.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.4341, allocations: 17.31 kB / 474.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4342, allocations: 0.75 kB / 474.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.074e-05/0.4342, allocations: 84.83 kB / 474.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4343, allocations: 4.75 kB / 474.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4343, allocations: 4 kB / 474.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4343, allocations: 3.953 kB / 474.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.4344, allocations: 25.3 kB / 475 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4344, allocations: 0 / 475 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.4344, allocations: 4.75 kB / 475 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.4344, allocations: 4 kB / 475 MB, free: 11.97 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: 0 () * 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.31e-05/0.4345, allocations: 105.2 kB / 475.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.4345, allocations: 75.59 kB / 475.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.4346, allocations: 13.34 kB / 475.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4346, allocations: 0 / 475.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4346, allocations: 3.953 kB / 475.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4346, allocations: 0.75 kB / 475.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.741e-05/0.4347, allocations: 146.9 kB / 475.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4347, allocations: 0 / 475.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.4347, allocations: 13.64 kB / 475.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4347, allocations: 0 / 475.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.4347, allocations: 0.8906 kB / 475.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4348, allocations: 4 kB / 475.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4348, allocations: 0 / 475.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.443e-05/0.4349, allocations: 100 kB / 475.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.4349, allocations: 88.95 kB / 475.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.4349, allocations: 4.547 kB / 475.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.4349, allocations: 0 / 475.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-06/0.435, allocations: 0 / 475.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.435, allocations: 8.734 kB / 475.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.435, allocations: 110.4 kB / 475.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.435, allocations: 0 / 475.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.4352, allocations: 8.75 kB / 475.6 MB, free: 11.29 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: 0 () * 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 8.694e-05/0.4353, allocations: 96.95 kB / 475.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.135e-05/0.4354, allocations: 36.5 kB / 475.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4354, allocations: 0 / 475.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.4354, allocations: 0.5 kB / 475.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.4356, allocations: 41.41 kB / 475.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001999/0.4358, allocations: 98.73 kB / 475.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.436, allocations: 0.7025 MB / 476.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.201e-05/0.436, allocations: 1.359 kB / 476.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.436, allocations: 11.44 kB / 476.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.436, allocations: 0 / 476.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Templates: time 0.002266/0.4383, allocations: 0.5276 MB / 477.1 MB, free: 10 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches