Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001698/0.001703, allocations: 177.5 kB / 8.191 MB, free: 2.176 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 102.1 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09543/0.09543, allocations: 12.59 MB / 322.3 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.061e-05/1.074e-05, allocations: 0 / 378.4 MB, free: 76.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08436, allocations: 50.38 MB / 428.7 MB, free: 25.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2809/0.3653, allocations: 76.83 MB / 0.4937 GB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3655, allocations: 81.14 kB / 0.4938 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.003801/0.3694, allocations: 0.8558 MB / 0.4946 GB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3694, allocations: 3.844 kB / 0.4946 GB, free: 11.62 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.0003129/0.3697, allocations: 339 kB / 0.495 GB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3698, allocations: 11.5 kB / 0.495 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3698, allocations: 11.69 kB / 0.495 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.37, allocations: 196.3 kB / 0.4952 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3701, allocations: 3.984 kB / 0.4952 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3701, allocations: 7.844 kB / 0.4952 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/0.3702, allocations: 20.61 kB / 0.4952 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3704, allocations: 105.7 kB / 0.4953 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3705, allocations: 3.188 kB / 0.4953 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3705, allocations: 0 / 0.4953 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3705, allocations: 3.906 kB / 0.4953 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.3709, allocations: 343.7 kB / 0.4956 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.881e-05/0.371, allocations: 61.84 kB / 0.4957 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.371, allocations: 35.61 kB / 0.4957 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.3711, allocations: 0 / 0.4957 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.3711, allocations: 36.08 kB / 0.4958 GB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.3711, allocations: 0 / 0.4958 GB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002319/0.3714, allocations: 72.58 kB / 0.4958 GB, free: 10.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3714, allocations: 102.8 kB / 0.4959 GB, free: 10.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3715, allocations: 123.9 kB / 0.4961 GB, free: 10.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3715, allocations: 29.67 kB / 0.4961 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.3716, allocations: 151.9 kB / 0.4962 GB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.3716, allocations: 3.906 kB / 0.4962 GB, free: 10.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.3716, allocations: 0 / 0.4962 GB, free: 10.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.3717, allocations: 320.2 kB / 0.4965 GB, free: 9.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.3717, allocations: 7.375 kB / 0.4965 GB, free: 9.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.3718, allocations: 32.72 kB / 0.4966 GB, free: 9.695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.3718, allocations: 14.38 kB / 0.4966 GB, free: 9.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3718, allocations: 0 / 0.4966 GB, free: 9.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.3719, allocations: 56 kB / 0.4966 GB, free: 9.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.372, allocations: 7.688 kB / 0.4967 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.372, allocations: 5.344 kB / 0.4967 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.372, allocations: 0 / 0.4967 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.039e-05/0.372, allocations: 7.875 kB / 0.4967 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.372, allocations: 0 / 0.4967 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.167e-05/0.3721, allocations: 5.656 kB / 0.4967 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3721, allocations: 128 / 0.4967 GB, free: 9.648 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 5.499e-05/0.3722, allocations: 42.81 kB / 0.4967 GB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3723, allocations: 49.44 kB / 0.4968 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.3724, allocations: 8.828 kB / 0.4968 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3724, allocations: 3.875 kB / 0.4968 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3724, allocations: 0 / 0.4968 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3724, allocations: 0 / 0.4968 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.3726, allocations: 157.1 kB / 0.4969 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3726, allocations: 0 / 0.4969 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.3727, allocations: 9.375 kB / 0.4969 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3727, allocations: 0 / 0.4969 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3727, allocations: 0 / 0.4969 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3727, allocations: 0 / 0.4969 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3727, allocations: 3.844 kB / 0.4969 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001524/0.3729, allocations: 267.5 kB / 0.4972 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.373, allocations: 100.7 kB / 0.4973 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.373, allocations: 0 / 0.4973 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.3731, allocations: 5.406 kB / 0.4973 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.3732, allocations: 1.5 kB / 0.4973 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3732, allocations: 7.781 kB / 0.4973 GB, free: 9.043 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.471e-05/0.3733, allocations: 103 kB / 0.4974 GB, free: 8.969 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003101/0.3736, allocations: 3.875 kB / 0.4974 GB, free: 8.969 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 9.307e-05/0.3737, allocations: 102.6 kB / 0.4975 GB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3738, allocations: 25.61 kB / 0.4975 GB, free: 8.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3738, allocations: 0 / 0.4975 GB, free: 8.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.3739, allocations: 5.094 kB / 0.4975 GB, free: 8.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3743, allocations: 29.97 kB / 0.4976 GB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.3746, allocations: 150 kB / 0.4977 GB, free: 8.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.3748, allocations: 0.7097 MB / 0.4984 GB, free: 8.031 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3748, allocations: 0 / 0.4984 GB, free: 8.031 MB / 330.7 MB Notification: Performance of Templates: time 0.002642/0.3775, allocations: 0.8021 MB / 0.4992 GB, free: 7.996 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/jenkins/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