Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001397, allocations: 179.8 kB / 15.8 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009/0.0008998, allocations: 98.84 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07596/0.07596, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 13.11 kB / 392 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 50.38 MB / 442.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.2217, allocations: 77.75 MB / 0.5079 GB, free: 13.08 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.222, allocations: 75.95 kB / 0.508 GB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003377/0.2254, allocations: 1.227 MB / 0.5092 GB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2254, allocations: 0 / 0.5092 GB, free: 11.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2254, allocations: 4 kB / 0.5092 GB, free: 11.77 MB / 362.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.0004031/0.2259, allocations: 371 kB / 0.5096 GB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2259, allocations: 8.031 kB / 0.5096 GB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.226, allocations: 7.906 kB / 0.5096 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.2262, allocations: 198.8 kB / 0.5098 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2262, allocations: 4 kB / 0.5098 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.2262, allocations: 7.953 kB / 0.5098 GB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.2265, allocations: 123.3 kB / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2266, allocations: 3.938 kB / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.2266, allocations: 0 / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2266, allocations: 0 / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.82e-05/0.2266, allocations: 23.92 kB / 0.5099 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.2269, allocations: 165.7 kB / 0.5101 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.227, allocations: 70.7 kB / 0.5101 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.227, allocations: 4 kB / 0.5102 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.2271, allocations: 38.5 kB / 0.5102 GB, free: 10.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.2271, allocations: 0 / 0.5102 GB, free: 10.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002189/0.2273, allocations: 85.81 kB / 0.5103 GB, free: 10.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.2274, allocations: 55.41 kB / 0.5103 GB, free: 10.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.2275, allocations: 131.8 kB / 0.5105 GB, free: 10.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2275, allocations: 25.7 kB / 0.5105 GB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.2276, allocations: 84.14 kB / 0.5106 GB, free: 10.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.2276, allocations: 7.906 kB / 0.5106 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.2276, allocations: 4 kB / 0.5106 GB, free: 10.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2277, allocations: 318.8 kB / 0.5109 GB, free: 9.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.2277, allocations: 8 kB / 0.5109 GB, free: 9.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.2278, allocations: 66.8 kB / 0.5109 GB, free: 9.758 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.24e-05/0.2278, allocations: 12 kB / 0.511 GB, free: 9.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2278, allocations: 0 / 0.511 GB, free: 9.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001238/0.228, allocations: 93.48 kB / 0.511 GB, free: 9.648 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.228, allocations: 11.95 kB / 0.5111 GB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.228, allocations: 0 / 0.5111 GB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.228, allocations: 4 kB / 0.5111 GB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.2281, allocations: 12 kB / 0.5111 GB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2281, allocations: 7.938 kB / 0.5111 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.2282, allocations: 8.094 kB / 0.5111 GB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.2282, allocations: 12 kB / 0.5111 GB, free: 9.594 MB / 362.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 8.738e-05/0.2283, allocations: 125.6 kB / 0.5112 GB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/0.2284, allocations: 77.72 kB / 0.5113 GB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.2284, allocations: 16.67 kB / 0.5113 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2284, allocations: 3.938 kB / 0.5113 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2284, allocations: 0 / 0.5113 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2285, allocations: 0 / 0.5113 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.2286, allocations: 173.6 kB / 0.5115 GB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2286, allocations: 192 / 0.5115 GB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.2286, allocations: 12 kB / 0.5115 GB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2286, allocations: 7.938 kB / 0.5115 GB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2287, allocations: 4 kB / 0.5115 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2287, allocations: 3.953 kB / 0.5115 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2287, allocations: 0 / 0.5115 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.2288, allocations: 97.02 kB / 0.5116 GB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.2289, allocations: 93 kB / 0.5117 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2289, allocations: 8 kB / 0.5117 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.2289, allocations: 8 kB / 0.5117 GB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-06/0.2289, allocations: 7.891 kB / 0.5117 GB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.2289, allocations: 0 / 0.5117 GB, free: 8.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.229, allocations: 103.3 kB / 0.5118 GB, free: 8.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.229, allocations: 0 / 0.5118 GB, free: 8.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.2292, allocations: 8 kB / 0.5118 GB, free: 8.754 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 9.714e-05/0.2293, allocations: 103.1 kB / 0.5119 GB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.2294, allocations: 40.31 kB / 0.5119 GB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2294, allocations: 0 / 0.5119 GB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2294, allocations: 0 / 0.5119 GB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.2297, allocations: 55.64 kB / 0.512 GB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.23, allocations: 179.4 kB / 0.5122 GB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.2303, allocations: 0.7045 MB / 0.5129 GB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.512e-05/0.2303, allocations: 0 / 0.5129 GB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.2303, allocations: 11.44 kB / 0.5129 GB, free: 7.605 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2303, allocations: 0 / 0.5129 GB, free: 7.605 MB / 362.7 MB Notification: Performance of Templates: time 0.002523/0.2329, allocations: 0.5478 MB / 0.5134 GB, free: 7.062 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches