Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.0009843/0.0009845, allocations: 173 kB / 16.8 MB, free: 4.906 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.54/1.54, allocations: 205.4 MB / 223 MB, free: 9.016 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.0009171/0.0009168, allocations: 93.41 kB / 271.3 MB, free: 8.242 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.08169/0.08169, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 16 kB / 393.2 MB, free: 65.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08374, allocations: 50.36 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3147/0.3985, allocations: 77.71 MB / 0.5091 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.3987, allocations: 72.81 kB / 0.5092 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00259/0.4013, allocations: 1.176 MB / 0.5103 GB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4014, allocations: 3.906 kB / 0.5103 GB, free: 13.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.4014, allocations: 0 / 0.5103 GB, free: 13.02 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.0003252/0.4017, allocations: 362.3 kB / 0.5107 GB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4018, allocations: 7.75 kB / 0.5107 GB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.4018, allocations: 11.72 kB / 0.5107 GB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.402, allocations: 203.8 kB / 0.5109 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.402, allocations: 384 / 0.5109 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.402, allocations: 7.469 kB / 0.5109 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.4023, allocations: 117.8 kB / 0.511 GB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4023, allocations: 192 / 0.511 GB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4023, allocations: 11.69 kB / 0.511 GB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4023, allocations: 3.875 kB / 0.511 GB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.4024, allocations: 34.28 kB / 0.511 GB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.4028, allocations: 366.1 kB / 0.5114 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.76e-05/0.4028, allocations: 70.22 kB / 0.5115 GB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.4029, allocations: 28.98 kB / 0.5115 GB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4029, allocations: 7.984 kB / 0.5115 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.403, allocations: 38.25 kB / 0.5115 GB, free: 11.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.403, allocations: 0 / 0.5115 GB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002546/0.4032, allocations: 98.75 kB / 0.5116 GB, free: 11.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.4033, allocations: 110.6 kB / 0.5117 GB, free: 11.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.4034, allocations: 138.6 kB / 0.5119 GB, free: 11.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.4034, allocations: 25.7 kB / 0.5119 GB, free: 11.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.4034, allocations: 91.06 kB / 0.512 GB, free: 11.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.4034, allocations: 10.52 kB / 0.512 GB, free: 11.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.4034, allocations: 0 / 0.512 GB, free: 11.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.4035, allocations: 318.2 kB / 0.5123 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.4035, allocations: 15.7 kB / 0.5123 GB, free: 11.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.392e-05/0.4036, allocations: 42.38 kB / 0.5123 GB, free: 11.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.277e-05/0.4037, allocations: 61.98 kB / 0.5124 GB, free: 10.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4037, allocations: 0 / 0.5124 GB, free: 10.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001219/0.4038, allocations: 70.92 kB / 0.5125 GB, free: 10.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4038, allocations: 10.44 kB / 0.5125 GB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4038, allocations: 7.938 kB / 0.5125 GB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4039, allocations: 0 / 0.5125 GB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.748e-05/0.4039, allocations: 7.844 kB / 0.5125 GB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4039, allocations: 0 / 0.5125 GB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.4039, allocations: 7.797 kB / 0.5125 GB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.404, allocations: 3.875 kB / 0.5125 GB, free: 10.91 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 8.444e-05/0.4041, allocations: 125.3 kB / 0.5126 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/0.4041, allocations: 52.88 kB / 0.5127 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.4042, allocations: 14.89 kB / 0.5127 GB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4042, allocations: 0 / 0.5127 GB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4042, allocations: 3.938 kB / 0.5127 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4042, allocations: 3.844 kB / 0.5127 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.4044, allocations: 172.2 kB / 0.5129 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4044, allocations: 0 / 0.5129 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-06/0.4044, allocations: 0 / 0.5129 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4045, allocations: 3.844 kB / 0.5129 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4045, allocations: 0.875 kB / 0.5129 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4045, allocations: 0 / 0.5129 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4045, allocations: 8.016 kB / 0.5129 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.4047, allocations: 264.8 kB / 0.5131 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.4047, allocations: 92.69 kB / 0.5132 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.4048, allocations: 0 / 0.5132 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.4049, allocations: 11.66 kB / 0.5132 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.4049, allocations: 0.875 kB / 0.5132 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.4049, allocations: 11.77 kB / 0.5132 GB, free: 10.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.405, allocations: 101.4 kB / 0.5133 GB, free: 10.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.405, allocations: 0 / 0.5133 GB, free: 10.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.4052, allocations: 7.656 kB / 0.5133 GB, free: 10.1 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 8.782e-05/0.4053, allocations: 93.62 kB / 0.5134 GB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.4055, allocations: 49.91 kB / 0.5135 GB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4055, allocations: 0 / 0.5135 GB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.4055, allocations: 11.67 kB / 0.5135 GB, free: 9.996 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.406, allocations: 34.98 kB / 0.5135 GB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.4063, allocations: 189.3 kB / 0.5137 GB, free: 9.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.4065, allocations: 0.6959 MB / 0.5144 GB, free: 9.102 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.738e-05/0.4065, allocations: 7.797 kB / 0.5144 GB, free: 9.098 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.4066, allocations: 11.44 kB / 0.5144 GB, free: 9.09 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4066, allocations: 0 / 0.5144 GB, free: 9.09 MB / 330.7 MB Notification: Performance of Templates: time 0.002382/0.409, allocations: 0.548 MB / 0.5149 GB, free: 8.816 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches