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/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/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.001807/0.001807, allocations: 182 kB / 17.46 MB, free: 4.359 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.92/2.92, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001539/0.00154, allocations: 96.02 kB / 272 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1796/0.1796, allocations: 12.2 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007242/0.0007245, allocations: 23.98 kB / 392.7 MB, free: 67.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1721, allocations: 50.29 MB / 443 MB, free: 16.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5217/0.6938, allocations: 77.65 MB / 0.5085 GB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/0.6942, allocations: 77 kB / 0.5085 GB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00582/0.7001, allocations: 1.736 MB / 0.5102 GB, free: 12.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.899e-06/0.7002, allocations: 0 / 0.5102 GB, free: 12.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.7002, allocations: 3.844 kB / 0.5102 GB, free: 12.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004414/0.7007, allocations: 368.3 kB / 0.5106 GB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.7007, allocations: 11.83 kB / 0.5106 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.7008, allocations: 12.69 kB / 0.5106 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.701, allocations: 194.4 kB / 0.5108 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.701, allocations: 384 / 0.5108 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.7011, allocations: 8.188 kB / 0.5108 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.7015, allocations: 135.7 kB / 0.5109 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.7015, allocations: 192 / 0.5109 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.7015, allocations: 6.875 kB / 0.5109 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.7015, allocations: 0 / 0.5109 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.7017, allocations: 42.38 kB / 0.511 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.7021, allocations: 362.5 kB / 0.5113 GB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.7023, allocations: 74.34 kB / 0.5114 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.7024, allocations: 33.3 kB / 0.5114 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.7024, allocations: 7.969 kB / 0.5114 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.7024, allocations: 37.5 kB / 0.5115 GB, free: 11.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.7025, allocations: 0 / 0.5115 GB, free: 11.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003993/0.7029, allocations: 98.28 kB / 0.5116 GB, free: 11.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.7029, allocations: 110.6 kB / 0.5117 GB, free: 11.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.7031, allocations: 137.5 kB / 0.5118 GB, free: 11.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.7031, allocations: 25.7 kB / 0.5118 GB, free: 11.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.7031, allocations: 91.72 kB / 0.5119 GB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.7032, allocations: 7.469 kB / 0.5119 GB, free: 10.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.7032, allocations: 4.188 kB / 0.5119 GB, free: 10.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.7033, allocations: 315.9 kB / 0.5122 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.7034, allocations: 15.23 kB / 0.5122 GB, free: 10.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.7034, allocations: 38.45 kB / 0.5123 GB, free: 10.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.7036, allocations: 61.86 kB / 0.5123 GB, free: 10.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7036, allocations: 0 / 0.5123 GB, free: 10.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001735/0.7038, allocations: 76.33 kB / 0.5124 GB, free: 10.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.7038, allocations: 7.688 kB / 0.5124 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7038, allocations: 0 / 0.5124 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.7038, allocations: 0 / 0.5124 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.372e-05/0.7039, allocations: 11 kB / 0.5124 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7039, allocations: 0 / 0.5124 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.704, allocations: 7.797 kB / 0.5124 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.704, allocations: 3.875 kB / 0.5124 GB, free: 10.46 MB / 330.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.000101/0.7041, allocations: 126.1 kB / 0.5126 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.7042, allocations: 48.47 kB / 0.5126 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.7043, allocations: 15.55 kB / 0.5126 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7043, allocations: 0 / 0.5126 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7043, allocations: 3.938 kB / 0.5126 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.7043, allocations: 3.875 kB / 0.5126 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.7046, allocations: 179.6 kB / 0.5128 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.7046, allocations: 0 / 0.5128 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.7046, allocations: 0 / 0.5128 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7046, allocations: 0 / 0.5128 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7047, allocations: 7.906 kB / 0.5128 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7047, allocations: 0 / 0.5128 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7047, allocations: 3.984 kB / 0.5128 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.7049, allocations: 256.9 kB / 0.5131 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.705, allocations: 100.7 kB / 0.5132 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.705, allocations: 3.938 kB / 0.5132 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.7052, allocations: 3.875 kB / 0.5132 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.7052, allocations: 3.984 kB / 0.5132 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.7052, allocations: 3.844 kB / 0.5132 GB, free: 9.742 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.042e-05/0.7053, allocations: 105 kB / 0.5133 GB, free: 9.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7053, allocations: 0 / 0.5133 GB, free: 9.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004181/0.7058, allocations: 10.69 kB / 0.5133 GB, free: 9.664 MB / 330.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 (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.0001265/0.7059, allocations: 103 kB / 0.5134 GB, free: 9.566 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.7061, allocations: 39.73 kB / 0.5134 GB, free: 9.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7061, allocations: 0 / 0.5134 GB, free: 9.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.7062, allocations: 15.45 kB / 0.5134 GB, free: 9.555 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.7069, allocations: 31.42 kB / 0.5135 GB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.7074, allocations: 219.5 kB / 0.5137 GB, free: 9.332 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.7076, allocations: 0.6959 MB / 0.5143 GB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.7077, allocations: 11.44 kB / 0.5144 GB, free: 8.617 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.7077, allocations: 0 / 0.5144 GB, free: 8.617 MB / 330.7 MB Notification: Performance of Templates: time 0.002856/0.7105, allocations: 0.8192 MB / 0.5152 GB, free: 8.211 MB / 330.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