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.002896/0.002896, allocations: 187.1 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.163/4.163, allocations: 205.4 MB / 222.6 MB, free: 13.74 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.001789/0.001789, allocations: 102.8 kB / 270.9 MB, free: 13.26 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.1852/0.1852, allocations: 12.59 MB / 331.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 15.16 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.175, allocations: 50.37 MB / 442.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.002303/0.1774, allocations: 0.658 MB / 443 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005485/0.178, allocations: 111.7 kB / 443.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1782, allocations: 4 kB / 443.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.73e-05/0.1782, allocations: 3.938 kB / 443.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1784, allocations: 7.984 kB / 443.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1789, allocations: 35.84 kB / 443.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.179, allocations: 23.97 kB / 443.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1792, allocations: 16.17 kB / 443.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.1793, allocations: 19.86 kB / 443.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.1794, allocations: 11.92 kB / 443.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1794, allocations: 7.938 kB / 443.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.122e-05/0.1795, allocations: 0 / 443.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.1795, allocations: 15.94 kB / 443.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.1796, allocations: 29.7 kB / 443.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1797, allocations: 39.86 kB / 443.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1798, allocations: 0 / 443.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1798, allocations: 0 / 443.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1798, allocations: 0 / 443.3 MB, free: 10.63 MB / 282.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.001978/0.1818, allocations: 367.9 kB / 443.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.1819, allocations: 8.031 kB / 443.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.182, allocations: 7.906 kB / 443.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1823, allocations: 190.9 kB / 443.9 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1824, allocations: 4 kB / 443.9 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1824, allocations: 7.953 kB / 443.9 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.1829, allocations: 127.2 kB / 444 MB, free: 9.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1829, allocations: 3.984 kB / 444 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.183, allocations: 4 kB / 444 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.183, allocations: 0 / 444 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.1831, allocations: 19.98 kB / 444.1 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.1834, allocations: 169.6 kB / 444.2 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.1837, allocations: 70.61 kB / 444.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.1837, allocations: 0 / 444.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1838, allocations: 34.56 kB / 444.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 3.105e-06/0.1838, allocations: 4 kB / 444.3 MB, free: 9.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.003331/0.1871, allocations: 89.77 kB / 444.4 MB, free: 9.371 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.798e-05/0.1873, allocations: 63.34 kB / 444.5 MB, free: 9.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1875, allocations: 129 kB / 444.6 MB, free: 9.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1876, allocations: 29.7 kB / 444.6 MB, free: 9.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.1877, allocations: 154.6 kB / 444.8 MB, free: 8.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1877, allocations: 7.906 kB / 444.8 MB, free: 8.969 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.1877, allocations: 0 / 444.8 MB, free: 8.969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1879, allocations: 326.8 kB / 445.1 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.1879, allocations: 4 kB / 445.1 MB, free: 8.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.583e-05/0.188, allocations: 58.8 kB / 445.2 MB, free: 8.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.774e-05/0.1882, allocations: 23.94 kB / 445.2 MB, free: 8.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1882, allocations: 0 / 445.2 MB, free: 8.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000297/0.1885, allocations: 81.52 kB / 445.3 MB, free: 8.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.1886, allocations: 8 kB / 445.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1886, allocations: 256 / 445.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.1887, allocations: 8 kB / 445.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.1889, allocations: 19.92 kB / 445.3 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.1889, allocations: 4 kB / 445.3 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.285e-05/0.189, allocations: 7.938 kB / 445.3 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.189, allocations: 4 kB / 445.3 MB, free: 8.395 MB / 282.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 0.0001537/0.1892, allocations: 129.5 kB / 445.4 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.1894, allocations: 69.56 kB / 445.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.1895, allocations: 16.7 kB / 445.5 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1895, allocations: 4 kB / 445.5 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1896, allocations: 0 / 445.5 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1896, allocations: 0 / 445.5 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.1897, allocations: 177.5 kB / 445.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1898, allocations: 0 / 445.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.1899, allocations: 15.98 kB / 445.7 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.19, allocations: 4 kB / 445.7 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.19, allocations: 3.953 kB / 445.7 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.19, allocations: 4 kB / 445.7 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.19, allocations: 0 / 445.7 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1903, allocations: 105.3 kB / 445.8 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/0.1904, allocations: 93 kB / 445.9 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.1905, allocations: 4 kB / 445.9 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.1905, allocations: 7.953 kB / 445.9 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.1906, allocations: 3.984 kB / 445.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1906, allocations: 0 / 445.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1907, allocations: 103.3 kB / 446 MB, free: 7.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.1907, allocations: 0 / 446 MB, free: 7.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004667/0.1912, allocations: 8 kB / 446.1 MB, free: 7.555 MB / 282.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 0.0001586/0.1914, allocations: 99.25 kB / 446.2 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1917, allocations: 43.86 kB / 446.2 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1917, allocations: 0 / 446.2 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.1917, allocations: 0 / 446.2 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.1923, allocations: 48.02 kB / 446.2 MB, free: 7.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.1929, allocations: 209.5 kB / 446.4 MB, free: 7.121 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1932, allocations: 0.7004 MB / 447.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.1933, allocations: 15.42 kB / 447.2 MB, free: 6.379 MB / 282.7 MB Notification: Performance of SimCode: time 1.844e-06/0.1933, allocations: 0 / 447.2 MB, free: 6.379 MB / 282.7 MB Notification: Performance of Templates: time 0.004627/0.198, allocations: 0.7913 MB / 448 MB, free: 5.594 MB / 282.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