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.001507/0.001507, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008929/0.0008929, allocations: 88.77 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.75e-05, allocations: 4 kB / 350.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09359, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.4261, allocations: 77.27 MB / 479.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.4264, allocations: 74.27 kB / 479.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003171/0.4296, allocations: 1.259 MB / 480.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4296, allocations: 3.938 kB / 480.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.4296, allocations: 0 / 480.6 MB, free: 11.02 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.0002392/0.4298, allocations: 353.1 kB / 481 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4299, allocations: 16.02 kB / 481 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.4299, allocations: 7.281 kB / 481 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.4301, allocations: 187.3 kB / 481.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.4301, allocations: 7.094 kB / 481.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.4301, allocations: 0 / 481.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.4303, allocations: 133.6 kB / 481.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.4304, allocations: 0 / 481.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.4304, allocations: 0 / 481.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4304, allocations: 4.75 kB / 481.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.4304, allocations: 11.81 kB / 481.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.4306, allocations: 173.1 kB / 481.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.4307, allocations: 71.38 kB / 481.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.4307, allocations: 40.61 kB / 481.6 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.4307, allocations: 3.953 kB / 481.6 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.4308, allocations: 35.09 kB / 481.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.983e-06/0.4308, allocations: 0 / 481.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000147/0.4309, allocations: 74.22 kB / 481.7 MB, free: 9.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.431, allocations: 55.41 kB / 481.8 MB, free: 9.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.854e-05/0.4311, allocations: 134.2 kB / 481.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.4311, allocations: 25.7 kB / 481.9 MB, free: 9.637 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.4311, allocations: 83.83 kB / 482 MB, free: 9.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.4311, allocations: 0 / 482 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.4311, allocations: 7.688 kB / 482 MB, free: 9.551 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.4312, allocations: 318.8 kB / 482.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.4312, allocations: 4.656 kB / 482.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.4313, allocations: 60.03 kB / 482.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.4313, allocations: 23.86 kB / 482.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4313, allocations: 0 / 482.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.565e-05/0.4314, allocations: 85.28 kB / 482.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4314, allocations: 7.953 kB / 482.5 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4314, allocations: 4 kB / 482.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4314, allocations: 256 / 482.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.013e-05/0.4315, allocations: 32.48 kB / 482.6 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4316, allocations: 0 / 482.6 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.4316, allocations: 4 kB / 482.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.4316, allocations: 4 kB / 482.6 MB, free: 9.004 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 3.695e-05/0.4316, allocations: 105.8 kB / 482.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.4317, allocations: 82.41 kB / 482.7 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.4318, allocations: 18.86 kB / 482.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4318, allocations: 0 / 482.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4318, allocations: 0.8125 kB / 482.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4318, allocations: 4.656 kB / 482.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.418e-05/0.4318, allocations: 173.4 kB / 482.9 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4319, allocations: 0 / 482.9 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.4319, allocations: 12 kB / 483 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.4319, allocations: 1 kB / 483 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.4319, allocations: 0 / 483 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4319, allocations: 11.94 kB / 483 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4319, allocations: 0 / 483 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.487e-05/0.432, allocations: 104.2 kB / 483.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.4321, allocations: 89 kB / 483.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.4321, allocations: 5.031 kB / 483.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.4321, allocations: 8.938 kB / 483.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-06/0.4321, allocations: 3.953 kB / 483.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.4321, allocations: 0 / 483.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.4322, allocations: 108.9 kB / 483.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4322, allocations: 0 / 483.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.4324, allocations: 11.81 kB / 483.3 MB, free: 8.246 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.166e-05/0.4325, allocations: 99.25 kB / 483.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.403e-05/0.4326, allocations: 43.56 kB / 483.4 MB, free: 8.105 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4326, allocations: 0 / 483.4 MB, free: 8.105 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.4326, allocations: 0 / 483.4 MB, free: 8.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.4328, allocations: 35.34 kB / 483.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.433, allocations: 116.3 kB / 483.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4331, allocations: 0.7048 MB / 484.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.134e-05/0.4332, allocations: 0 / 484.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.4332, allocations: 11.44 kB / 484.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4332, allocations: 0 / 484.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of Templates: time 0.002111/0.4353, allocations: 0.5532 MB / 484.8 MB, free: 6.711 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