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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 192.5 kB / 7.845 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.2 MB / 213.5 MB, free: 13.91 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.0009982/0.0009982, allocations: 100.5 kB / 261.5 MB, free: 13.52 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.07043/0.07043, allocations: 12.59 MB / 322 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.27e-06/5.3e-06, allocations: 0 / 378.4 MB, free: 75.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09447/0.09449, allocations: 50.38 MB / 428.8 MB, free: 25.24 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2629/0.3574, allocations: 76.83 MB / 0.4937 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.3576, allocations: 73.19 kB / 0.4938 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.002451/0.3601, allocations: 0.8624 MB / 0.4947 GB, free: 11.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.3601, allocations: 3.844 kB / 0.4947 GB, free: 11.88 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.000219/0.3603, allocations: 340.1 kB / 0.495 GB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.3604, allocations: 11.75 kB / 0.495 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.3604, allocations: 12.98 kB / 0.495 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3606, allocations: 191.9 kB / 0.4952 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3606, allocations: 3.875 kB / 0.4952 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.3606, allocations: 0.625 kB / 0.4952 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.31e-05/0.3607, allocations: 28.22 kB / 0.4952 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3608, allocations: 115.6 kB / 0.4953 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3608, allocations: 0 / 0.4953 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.3609, allocations: 5.359 kB / 0.4953 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3609, allocations: 3.906 kB / 0.4953 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.3611, allocations: 334.3 kB / 0.4957 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.3612, allocations: 64.62 kB / 0.4957 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.3612, allocations: 27.28 kB / 0.4958 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3613, allocations: 4.875 kB / 0.4958 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.3613, allocations: 38.5 kB / 0.4958 GB, free: 10.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3613, allocations: 0 / 0.4958 GB, free: 10.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001608/0.3614, allocations: 74.3 kB / 0.4959 GB, free: 10.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.3615, allocations: 102.8 kB / 0.496 GB, free: 10.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.3616, allocations: 123.1 kB / 0.4961 GB, free: 10.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.3616, allocations: 25.7 kB / 0.4961 GB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.066e-05/0.3616, allocations: 85.34 kB / 0.4962 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-06/0.3616, allocations: 11.56 kB / 0.4962 GB, free: 10.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.3616, allocations: 0 / 0.4962 GB, free: 10.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.3617, allocations: 317.4 kB / 0.4965 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.3617, allocations: 7.469 kB / 0.4965 GB, free: 10.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.3617, allocations: 28.08 kB / 0.4965 GB, free: 10.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.3617, allocations: 14.58 kB / 0.4965 GB, free: 10.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3618, allocations: 0 / 0.4965 GB, free: 10.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.867e-05/0.3618, allocations: 67.44 kB / 0.4966 GB, free: 9.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.3618, allocations: 3.812 kB / 0.4966 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3619, allocations: 5.016 kB / 0.4966 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3619, allocations: 3.906 kB / 0.4966 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.234e-05/0.3619, allocations: 0 / 0.4966 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.3619, allocations: 1.406 kB / 0.4966 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.3619, allocations: 7.938 kB / 0.4966 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.362, allocations: 3.906 kB / 0.4966 GB, free: 9.973 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 () * 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 3.985e-05/0.362, allocations: 110.1 kB / 0.4967 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.3621, allocations: 52.36 kB / 0.4968 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.3621, allocations: 16.34 kB / 0.4968 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3621, allocations: 0 / 0.4968 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3621, allocations: 0 / 0.4968 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3621, allocations: 3.906 kB / 0.4968 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.3623, allocations: 153.8 kB / 0.497 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3623, allocations: 3.812 kB / 0.497 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.3623, allocations: 0 / 0.497 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3623, allocations: 1.594 kB / 0.497 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.3623, allocations: 3.844 kB / 0.497 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3623, allocations: 0 / 0.497 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3623, allocations: 3.906 kB / 0.497 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001166/0.3625, allocations: 266.3 kB / 0.4972 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.3625, allocations: 92.77 kB / 0.4973 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.3625, allocations: 1.5 kB / 0.4973 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/0.3626, allocations: 3.844 kB / 0.4973 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.3627, allocations: 9.234 kB / 0.4973 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3627, allocations: 0 / 0.4973 GB, free: 9.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.852e-05/0.3627, allocations: 109.7 kB / 0.4974 GB, free: 9.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.363, allocations: 3.969 kB / 0.4974 GB, free: 9.219 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 () * 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 6.565e-05/0.363, allocations: 100.8 kB / 0.4975 GB, free: 9.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.151e-05/0.3631, allocations: 27.8 kB / 0.4976 GB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.3631, allocations: 0 / 0.4976 GB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.3632, allocations: 8.906 kB / 0.4976 GB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.3634, allocations: 23.28 kB / 0.4976 GB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.3637, allocations: 119.9 kB / 0.4977 GB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3638, allocations: 0.7097 MB / 0.4984 GB, free: 8.316 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3638, allocations: 0 / 0.4984 GB, free: 8.316 MB / 330.7 MB Notification: Performance of Templates: time 0.002226/0.3661, allocations: 0.6105 MB / 0.499 GB, free: 8.254 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/jenkins/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