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.001474/0.001474, allocations: 186 kB / 16.44 MB, free: 5.691 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.93/1.93, allocations: 205.4 MB / 222.6 MB, free: 9.043 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.001114/0.001114, allocations: 85.73 kB / 270.9 MB, free: 8.371 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.1019/0.1019, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005349/0.000535, allocations: 16 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08765, allocations: 50.37 MB / 442.4 MB, free: 16.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/0.5036, allocations: 77.75 MB / 0.5079 GB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5039, allocations: 76.86 kB / 0.508 GB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004111/0.508, allocations: 1.223 MB / 0.5092 GB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5081, allocations: 0 / 0.5092 GB, free: 12.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.5081, allocations: 3.938 kB / 0.5092 GB, free: 12.38 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.0003213/0.5084, allocations: 376.9 kB / 0.5095 GB, free: 12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5085, allocations: 8.312 kB / 0.5096 GB, free: 12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.5085, allocations: 11.66 kB / 0.5096 GB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.5087, allocations: 186.3 kB / 0.5097 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.5087, allocations: 7.25 kB / 0.5097 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.5088, allocations: 3.953 kB / 0.5098 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.5091, allocations: 128.2 kB / 0.5099 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.5091, allocations: 7.922 kB / 0.5099 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.5091, allocations: 3.062 kB / 0.5099 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5091, allocations: 4 kB / 0.5099 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.249e-05/0.5092, allocations: 10.91 kB / 0.5099 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.5093, allocations: 176.5 kB / 0.5101 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.5095, allocations: 68.86 kB / 0.5101 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.5095, allocations: 0 / 0.5101 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.5096, allocations: 34.56 kB / 0.5102 GB, free: 11.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.5096, allocations: 0 / 0.5102 GB, free: 11.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002546/0.5098, allocations: 90.22 kB / 0.5103 GB, free: 11.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.5099, allocations: 58.75 kB / 0.5103 GB, free: 11.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.51, allocations: 126.2 kB / 0.5104 GB, free: 11.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.51, allocations: 25.7 kB / 0.5105 GB, free: 11.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.5101, allocations: 153.5 kB / 0.5106 GB, free: 11.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.5101, allocations: 13.98 kB / 0.5106 GB, free: 11.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.5101, allocations: 0 / 0.5106 GB, free: 11.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.5102, allocations: 318 kB / 0.5109 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.5102, allocations: 3.844 kB / 0.5109 GB, free: 10.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.5103, allocations: 66.72 kB / 0.511 GB, free: 10.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.5103, allocations: 19.41 kB / 0.511 GB, free: 10.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5103, allocations: 0 / 0.511 GB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001413/0.5105, allocations: 79.89 kB / 0.5111 GB, free: 10.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5105, allocations: 11.86 kB / 0.5111 GB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.5105, allocations: 4 kB / 0.5111 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5106, allocations: 3.812 kB / 0.5111 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.5107, allocations: 17.92 kB / 0.5111 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5107, allocations: 7.828 kB / 0.5111 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.5108, allocations: 6.281 kB / 0.5111 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.5108, allocations: 3.844 kB / 0.5111 GB, free: 10.64 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 () * 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.517e-05/0.5109, allocations: 126.2 kB / 0.5112 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.511, allocations: 74.28 kB / 0.5113 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.511, allocations: 23.86 kB / 0.5113 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5111, allocations: 0 / 0.5113 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5111, allocations: 0 / 0.5113 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5111, allocations: 2.953 kB / 0.5113 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.283e-05/0.5112, allocations: 171.5 kB / 0.5115 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5112, allocations: 3.938 kB / 0.5115 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.5113, allocations: 13.83 kB / 0.5115 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5113, allocations: 0 / 0.5115 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.5113, allocations: 0 / 0.5115 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.5113, allocations: 7.203 kB / 0.5115 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5113, allocations: 0 / 0.5115 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.5115, allocations: 115.3 kB / 0.5116 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.5116, allocations: 88 kB / 0.5117 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.5116, allocations: 3.875 kB / 0.5117 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.696e-05/0.5116, allocations: 0 / 0.5117 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-06/0.5116, allocations: 6.625 kB / 0.5117 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.5117, allocations: 3.844 kB / 0.5117 GB, free: 10.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.839e-05/0.5117, allocations: 105.2 kB / 0.5118 GB, free: 10.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5118, allocations: 0 / 0.5118 GB, free: 10.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.512, allocations: 15.69 kB / 0.5119 GB, free: 10.01 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 () * 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 8.866e-05/0.5121, allocations: 90.81 kB / 0.5119 GB, free: 9.922 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.5123, allocations: 43.56 kB / 0.512 GB, free: 9.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5123, allocations: 3.844 kB / 0.512 GB, free: 9.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.5123, allocations: 0 / 0.512 GB, free: 9.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.5126, allocations: 39.61 kB / 0.512 GB, free: 9.906 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.513, allocations: 210.8 kB / 0.5122 GB, free: 9.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.5131, allocations: 0.7036 MB / 0.5129 GB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.5132, allocations: 14.84 kB / 0.5129 GB, free: 8.996 MB / 330.7 MB Notification: Performance of SimCode: time 1.743e-06/0.5132, allocations: 0 / 0.5129 GB, free: 8.996 MB / 330.7 MB Notification: Performance of Templates: time 0.002451/0.5156, allocations: 0.7903 MB / 0.5137 GB, free: 8.605 MB / 330.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