Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002886/0.002892, allocations: 185.6 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 3.864/3.864, allocations: 205.4 MB / 222.6 MB, free: 13.75 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.00191/0.00191, allocations: 94.86 kB / 270.9 MB, free: 13.27 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.1854/0.1854, allocations: 12.59 MB / 331.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 14.41 kB / 392 MB, free: 54.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1851, allocations: 50.38 MB / 442.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002954/0.1881, allocations: 1.21 MB / 443.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006063/0.1887, allocations: 143.7 kB / 443.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1889, allocations: 3.938 kB / 443.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.189, allocations: 0 / 443.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1892, allocations: 11.92 kB / 443.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.1896, allocations: 31.97 kB / 443.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1897, allocations: 27.91 kB / 443.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.191, allocations: 15.98 kB / 443.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.1911, allocations: 11.88 kB / 443.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.1912, allocations: 15.92 kB / 443.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.1913, allocations: 0 / 443.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.1913, allocations: 4 kB / 443.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.1914, allocations: 15.86 kB / 443.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1914, allocations: 37.7 kB / 443.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.1916, allocations: 31.94 kB / 443.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1916, allocations: 0 / 443.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1916, allocations: 0 / 443.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1916, allocations: 0 / 443.9 MB, free: 10.03 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005752/0.1922, allocations: 367.8 kB / 444.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1923, allocations: 8.031 kB / 444.3 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.1923, allocations: 7.906 kB / 444.3 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1926, allocations: 198.9 kB / 444.5 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.1927, allocations: 0 / 444.5 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1927, allocations: 15.95 kB / 444.5 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.1932, allocations: 113.9 kB / 444.6 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1932, allocations: 0 / 444.6 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1933, allocations: 4 kB / 444.6 MB, free: 9.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/0.1933, allocations: 4 kB / 444.6 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.1936, allocations: 35.91 kB / 444.6 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.1943, allocations: 357.9 kB / 445 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1945, allocations: 79.78 kB / 445.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1946, allocations: 11.98 kB / 445.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1946, allocations: 42.48 kB / 445.1 MB, free: 8.609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 4.879e-06/0.1947, allocations: 0 / 445.1 MB, free: 8.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0007343/0.1954, allocations: 174.6 kB / 445.3 MB, free: 8.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.1955, allocations: 111.2 kB / 445.4 MB, free: 8.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1957, allocations: 141 kB / 445.5 MB, free: 8.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1958, allocations: 25.7 kB / 445.6 MB, free: 8.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.1959, allocations: 154.5 kB / 445.7 MB, free: 7.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1959, allocations: 15.92 kB / 445.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.1959, allocations: 0 / 445.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.196, allocations: 314.8 kB / 446 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1962, allocations: 15.94 kB / 446.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1964, allocations: 39.42 kB / 446.1 MB, free: 7.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.1966, allocations: 19.94 kB / 446.1 MB, free: 7.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1966, allocations: 4 kB / 446.1 MB, free: 7.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003915/0.197, allocations: 77.55 kB / 446.2 MB, free: 7.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.1971, allocations: 8 kB / 446.2 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.1971, allocations: 0 / 446.2 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.1971, allocations: 0 / 446.2 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.766e-05/0.1972, allocations: 7.938 kB / 446.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1972, allocations: 0 / 446.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1973, allocations: 7.906 kB / 446.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1974, allocations: 8.125 kB / 446.2 MB, free: 7.414 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001983/0.1976, allocations: 125.8 kB / 446.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005017/0.1981, allocations: 45.69 kB / 446.4 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.321e-05/0.1982, allocations: 15.83 kB / 446.4 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-05/0.1983, allocations: 4 kB / 446.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.1983, allocations: 3.984 kB / 446.4 MB, free: 7.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1983, allocations: 0 / 446.4 MB, free: 7.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.1988, allocations: 173.6 kB / 446.6 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.1988, allocations: 11.92 kB / 446.6 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.1988, allocations: 4 kB / 446.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.1989, allocations: 0 / 446.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1989, allocations: 0 / 446.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.1989, allocations: 4 kB / 446.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.1989, allocations: 0 / 446.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.1994, allocations: 287 kB / 446.9 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-05/0.1996, allocations: 89.02 kB / 447 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1996, allocations: 3.984 kB / 447 MB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.1999, allocations: 4 kB / 447 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.1999, allocations: 3.938 kB / 447 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2, allocations: 12 kB / 447 MB, free: 6.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.2001, allocations: 107.2 kB / 447.1 MB, free: 6.422 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.2001, allocations: 0 / 447.1 MB, free: 6.422 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006463/0.2008, allocations: 7.906 kB / 447.1 MB, free: 6.414 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.000173/0.201, allocations: 95.25 kB / 447.2 MB, free: 6.312 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003874/0.2014, allocations: 48.09 kB / 447.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2014, allocations: 0 / 447.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.2016, allocations: 12 kB / 447.3 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004789/0.2064, allocations: 31.72 kB / 447.3 MB, free: 6.227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007215/0.2072, allocations: 228.3 kB / 447.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.2075, allocations: 0.6887 MB / 448.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.2075, allocations: 15.38 kB / 448.2 MB, free: 5.227 MB / 282.7 MB Notification: Performance of SimCode: time 1.794e-06/0.2075, allocations: 0 / 448.2 MB, free: 5.227 MB / 282.7 MB Notification: Performance of Templates: time 0.004109/0.2117, allocations: 0.7883 MB / 449 MB, free: 4.441 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches