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.0009611/0.0009613, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.746/1.746, allocations: 205.2 MB / 219 MB, free: 9.203 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.0009207/0.0009208, allocations: 85.03 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0849/0.0849, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.403e-05, allocations: 0 / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09707/0.09712, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4538, allocations: 77.67 MB / 0.502 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.454, allocations: 77.78 kB / 0.5021 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002742/0.4568, allocations: 1.224 MB / 0.5033 GB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4568, allocations: 6.031 kB / 0.5033 GB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4568, allocations: 0 / 0.5033 GB, free: 11.52 MB / 330.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.0002303/0.457, allocations: 348.6 kB / 0.5036 GB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4571, allocations: 11.31 kB / 0.5036 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.4571, allocations: 11.56 kB / 0.5036 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.4573, allocations: 200.3 kB / 0.5038 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.4573, allocations: 0 / 0.5038 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.4573, allocations: 7.766 kB / 0.5038 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.4575, allocations: 122.8 kB / 0.5039 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4576, allocations: 0 / 0.5039 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4576, allocations: 0 / 0.5039 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4576, allocations: 7.969 kB / 0.5039 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.4576, allocations: 19.17 kB / 0.504 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.4577, allocations: 172.3 kB / 0.5041 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.4579, allocations: 69.47 kB / 0.5042 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.4579, allocations: 41.17 kB / 0.5042 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.4579, allocations: 3.812 kB / 0.5042 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.458, allocations: 34.56 kB / 0.5043 GB, free: 10.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.458, allocations: 3.938 kB / 0.5043 GB, free: 10.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001335/0.4581, allocations: 73.06 kB / 0.5043 GB, free: 10.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.4581, allocations: 58.62 kB / 0.5044 GB, free: 10.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.4582, allocations: 129.2 kB / 0.5045 GB, free: 10.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.4582, allocations: 25.7 kB / 0.5045 GB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.774e-05/0.4583, allocations: 87.08 kB / 0.5046 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.4583, allocations: 6.438 kB / 0.5046 GB, free: 10.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.4583, allocations: 3.938 kB / 0.5046 GB, free: 10.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.4583, allocations: 321 kB / 0.5049 GB, free: 9.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.4584, allocations: 3.844 kB / 0.5049 GB, free: 9.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.4584, allocations: 64.27 kB / 0.505 GB, free: 9.902 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.4584, allocations: 14 kB / 0.505 GB, free: 9.898 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4584, allocations: 0 / 0.505 GB, free: 9.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.526e-05/0.4585, allocations: 100.8 kB / 0.5051 GB, free: 9.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4586, allocations: 3.844 kB / 0.5051 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4586, allocations: 3.969 kB / 0.5051 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4586, allocations: 3.875 kB / 0.5051 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.4587, allocations: 14.08 kB / 0.5051 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4587, allocations: 3.844 kB / 0.5051 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.4587, allocations: 4 kB / 0.5051 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.4587, allocations: 6.969 kB / 0.5052 GB, free: 9.84 MB / 330.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.502e-05/0.4588, allocations: 119.4 kB / 0.5053 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/0.4588, allocations: 73.66 kB / 0.5053 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.4589, allocations: 11.12 kB / 0.5053 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4589, allocations: 3.812 kB / 0.5054 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4589, allocations: 0 / 0.5054 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4589, allocations: 2.625 kB / 0.5054 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.741e-05/0.459, allocations: 172.3 kB / 0.5055 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.459, allocations: 0 / 0.5055 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.459, allocations: 17.98 kB / 0.5055 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.459, allocations: 0 / 0.5055 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4591, allocations: 7.391 kB / 0.5055 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4591, allocations: 7.875 kB / 0.5055 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4591, allocations: 0 / 0.5055 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.9e-05/0.4592, allocations: 91.89 kB / 0.5056 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.4592, allocations: 96.55 kB / 0.5057 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.4592, allocations: 3.5 kB / 0.5057 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.733e-05/0.4593, allocations: 3.953 kB / 0.5057 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-06/0.4593, allocations: 3.938 kB / 0.5057 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.4593, allocations: 10.8 kB / 0.5058 GB, free: 9.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.195e-05/0.4593, allocations: 104.4 kB / 0.5059 GB, free: 9.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4593, allocations: 0 / 0.5059 GB, free: 9.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.4595, allocations: 10.91 kB / 0.5059 GB, free: 9.223 MB / 330.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 7.401e-05/0.4596, allocations: 94.84 kB / 0.506 GB, free: 9.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.024e-05/0.4597, allocations: 44.88 kB / 0.506 GB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.4597, allocations: 0.5 kB / 0.506 GB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.4597, allocations: 0 / 0.506 GB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.4599, allocations: 41.89 kB / 0.506 GB, free: 9.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.4601, allocations: 109.9 kB / 0.5061 GB, free: 9.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.4603, allocations: 0.6998 MB / 0.5068 GB, free: 8.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.4603, allocations: 5.828 kB / 0.5068 GB, free: 8.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.4603, allocations: 7.438 kB / 0.5068 GB, free: 8.332 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4603, allocations: 3.719 kB / 0.5068 GB, free: 8.332 MB / 330.7 MB Notification: Performance of Templates: time 0.002266/0.4626, allocations: 0.5546 MB / 0.5074 GB, free: 8.258 MB / 330.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