Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.002453/0.002452, allocations: 186.1 kB / 13.7 MB, free: 1.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001113/0.001113, allocations: 78.66 kB / 267.5 MB, free: 14.12 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.09856/0.09856, allocations: 12.61 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.598e-05, allocations: 7.984 kB / 386 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3016, allocations: 50.36 MB / 436.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.4362, allocations: 77.68 MB / 0.502 GB, free: 380 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4365, allocations: 75.95 kB / 0.502 GB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004647/0.4412, allocations: 1.228 MB / 0.5032 GB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.586e-06/0.4412, allocations: 0 / 0.5032 GB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.4413, allocations: 3.938 kB / 0.5032 GB, free: 15.06 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.0004295/0.4417, allocations: 346.4 kB / 0.5036 GB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.4418, allocations: 16.02 kB / 0.5036 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.4418, allocations: 11.81 kB / 0.5036 GB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.4421, allocations: 175 kB / 0.5038 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.4421, allocations: 8 kB / 0.5038 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.4421, allocations: 3.953 kB / 0.5038 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.4425, allocations: 135.2 kB / 0.5039 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4425, allocations: 0 / 0.5039 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4425, allocations: 0 / 0.5039 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4425, allocations: 7.984 kB / 0.5039 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.853e-05/0.4426, allocations: 12 kB / 0.5039 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.4428, allocations: 173.6 kB / 0.5041 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.443, allocations: 70.61 kB / 0.5042 GB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.391e-05/0.4431, allocations: 45 kB / 0.5042 GB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.4432, allocations: 0 / 0.5042 GB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.4432, allocations: 34.59 kB / 0.5042 GB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.4432, allocations: 0 / 0.5042 GB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002112/0.4434, allocations: 73.59 kB / 0.5043 GB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.4435, allocations: 59.34 kB / 0.5044 GB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.4437, allocations: 126.4 kB / 0.5045 GB, free: 13.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.4437, allocations: 33.64 kB / 0.5045 GB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.4438, allocations: 150.6 kB / 0.5047 GB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.4438, allocations: 7.938 kB / 0.5047 GB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.4438, allocations: 0 / 0.5047 GB, free: 13.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.444, allocations: 318.8 kB / 0.505 GB, free: 13.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/0.444, allocations: 4 kB / 0.505 GB, free: 13.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.4441, allocations: 58.86 kB / 0.505 GB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.319e-05/0.4442, allocations: 23.94 kB / 0.5051 GB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4442, allocations: 0 / 0.5051 GB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001969/0.4444, allocations: 89.41 kB / 0.5051 GB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4444, allocations: 4.625 kB / 0.5051 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4445, allocations: 4 kB / 0.5051 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4445, allocations: 8.25 kB / 0.5052 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4446, allocations: 19.94 kB / 0.5052 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.4447, allocations: 4 kB / 0.5052 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.601e-05/0.4447, allocations: 3.984 kB / 0.5052 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.4447, allocations: 4 kB / 0.5052 GB, free: 12.83 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 () * 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 9.587e-05/0.4448, allocations: 116.7 kB / 0.5053 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.445, allocations: 69.56 kB / 0.5054 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.4451, allocations: 16.61 kB / 0.5054 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4451, allocations: 0 / 0.5054 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4451, allocations: 4 kB / 0.5054 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4451, allocations: 0 / 0.5054 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.4453, allocations: 177.6 kB / 0.5055 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4453, allocations: 0 / 0.5055 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.4454, allocations: 12 kB / 0.5056 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4454, allocations: 4 kB / 0.5056 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4454, allocations: 3.953 kB / 0.5056 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4455, allocations: 0 / 0.5056 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4455, allocations: 0 / 0.5056 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.4457, allocations: 106.1 kB / 0.5057 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/0.4458, allocations: 97 kB / 0.5058 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.4458, allocations: 0 / 0.5058 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.4459, allocations: 7.938 kB / 0.5058 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-06/0.4459, allocations: 0 / 0.5058 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.4459, allocations: 4 kB / 0.5058 GB, free: 12.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.446, allocations: 115 kB / 0.5059 GB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.446, allocations: 0 / 0.5059 GB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.4463, allocations: 8.188 kB / 0.5059 GB, free: 12.01 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 () * 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 0.0001285/0.4465, allocations: 99.25 kB / 0.506 GB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.4466, allocations: 43.81 kB / 0.506 GB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4467, allocations: 0 / 0.506 GB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.4467, allocations: 0 / 0.506 GB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.447, allocations: 36.02 kB / 0.5061 GB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.4474, allocations: 143.1 kB / 0.5062 GB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.4477, allocations: 0.7048 MB / 0.5069 GB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.4478, allocations: 7.438 kB / 0.5069 GB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.564e-06/0.4478, allocations: 0 / 0.5069 GB, free: 10.91 MB / 362.7 MB Notification: Performance of Templates: time 0.002898/0.4507, allocations: 0.7922 MB / 0.5077 GB, free: 10.12 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches