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.002231/0.00223, allocations: 179.4 kB / 8.407 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.3 MB / 214.1 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 90.64 kB / 262.2 MB, free: 1.605 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.1007/0.1007, allocations: 12.6 MB / 322.7 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.359e-05/2.374e-05, allocations: 4 kB / 378.9 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3179, allocations: 50.36 MB / 429.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.4697, allocations: 76.91 MB / 0.4943 GB, free: 5.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.47, allocations: 79.95 kB / 0.4944 GB, free: 5.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004424/0.4745, allocations: 1.177 MB / 0.4956 GB, free: 4.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4745, allocations: 0 / 0.4956 GB, free: 4.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4745, allocations: 0 / 0.4956 GB, free: 4.137 MB / 346.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.0004211/0.475, allocations: 342.4 kB / 0.4959 GB, free: 3.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.475, allocations: 12.03 kB / 0.4959 GB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.4751, allocations: 7.906 kB / 0.4959 GB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.4753, allocations: 182.9 kB / 0.4961 GB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.4754, allocations: 8 kB / 0.4961 GB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.4754, allocations: 3.953 kB / 0.4961 GB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001182/0.4755, allocations: 31.92 kB / 0.4961 GB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.4758, allocations: 101.9 kB / 0.4962 GB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4758, allocations: 0 / 0.4962 GB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.4759, allocations: 0 / 0.4962 GB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4759, allocations: 4 kB / 0.4962 GB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.4764, allocations: 338.4 kB / 0.4965 GB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.562e-05/0.4765, allocations: 63.73 kB / 0.4966 GB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.4765, allocations: 30.69 kB / 0.4966 GB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.4766, allocations: 3.984 kB / 0.4966 GB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4766, allocations: 42.5 kB / 0.4967 GB, free: 2.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.4766, allocations: 0 / 0.4967 GB, free: 2.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.00024/0.4769, allocations: 65.53 kB / 0.4967 GB, free: 2.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.477, allocations: 102.8 kB / 0.4968 GB, free: 2.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.4771, allocations: 125.2 kB / 0.497 GB, free: 2.465 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.4772, allocations: 29.64 kB / 0.497 GB, free: 2.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.4772, allocations: 154.6 kB / 0.4971 GB, free: 2.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.4773, allocations: 7.906 kB / 0.4971 GB, free: 2.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.4773, allocations: 0 / 0.4971 GB, free: 2.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4775, allocations: 314.9 kB / 0.4974 GB, free: 1.953 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.4775, allocations: 8 kB / 0.4974 GB, free: 1.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-05/0.4776, allocations: 27.42 kB / 0.4975 GB, free: 1.906 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.4776, allocations: 12 kB / 0.4975 GB, free: 1.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4776, allocations: 0 / 0.4975 GB, free: 1.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001255/0.4778, allocations: 65.52 kB / 0.4975 GB, free: 1.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4778, allocations: 8.781 kB / 0.4976 GB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4778, allocations: 3.938 kB / 0.4976 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4778, allocations: 0 / 0.4976 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.731e-05/0.4779, allocations: 7.984 kB / 0.4976 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4779, allocations: 0 / 0.4976 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/0.478, allocations: 4 kB / 0.4976 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.478, allocations: 0 / 0.4976 GB, free: 1.801 MB / 346.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 () * 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.0001002/0.4781, allocations: 114.7 kB / 0.4977 GB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.4782, allocations: 49.55 kB / 0.4977 GB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.4783, allocations: 15.91 kB / 0.4977 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4783, allocations: 96 / 0.4977 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4783, allocations: 7.984 kB / 0.4977 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4783, allocations: 0 / 0.4977 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.4786, allocations: 150.2 kB / 0.4979 GB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4786, allocations: 4 kB / 0.4979 GB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/0.4787, allocations: 4.031 kB / 0.4979 GB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4787, allocations: 0 / 0.4979 GB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.4787, allocations: 11.95 kB / 0.4979 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4787, allocations: 0 / 0.4979 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4787, allocations: 0 / 0.4979 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.4789, allocations: 270.9 kB / 0.4982 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.479, allocations: 89.09 kB / 0.4983 GB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4791, allocations: 0 / 0.4983 GB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4792, allocations: 4 kB / 0.4983 GB, free: 1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.4793, allocations: 4 kB / 0.4983 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.4793, allocations: 4 kB / 0.4983 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.035e-05/0.4794, allocations: 107.7 kB / 0.4984 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4794, allocations: 0 / 0.4984 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003636/0.4798, allocations: 12 kB / 0.4984 GB, free: 0.875 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001282/0.48, allocations: 99.02 kB / 0.4985 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.4801, allocations: 23.94 kB / 0.4985 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4801, allocations: 0 / 0.4985 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.394e-05/0.4801, allocations: 11.94 kB / 0.4985 GB, free: 0.7305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4805, allocations: 31.33 kB / 0.4985 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.4809, allocations: 159.3 kB / 0.4987 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.4813, allocations: 0.7001 MB / 0.4994 GB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.4813, allocations: 7.438 kB / 0.4994 GB, free: 15.78 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4813, allocations: 0 / 0.4994 GB, free: 15.78 MB / 362.7 MB Notification: Performance of Templates: time 0.002861/0.4842, allocations: 0.7917 MB / 0.5002 GB, free: 14.99 MB / 362.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