Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.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.001673/0.001672, allocations: 177 kB / 8.191 MB, free: 2.18 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.846/1.846, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001305/0.001305, allocations: 85.91 kB / 261.8 MB, free: 13.63 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.09767/0.09767, allocations: 12.58 MB / 322.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/9.919e-06, allocations: 4 kB / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09138, allocations: 50.38 MB / 428.8 MB, free: 25.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/0.3815, allocations: 77.46 MB / 0.4943 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.3818, allocations: 76.86 kB / 0.4944 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.006508/0.3883, allocations: 1.363 MB / 0.4958 GB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3884, allocations: 0 / 0.4958 GB, free: 11.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.0004207/0.3888, allocations: 365 kB / 0.4961 GB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3888, allocations: 11.66 kB / 0.4961 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.3889, allocations: 11.72 kB / 0.4961 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.3891, allocations: 196.5 kB / 0.4963 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3891, allocations: 0 / 0.4963 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3892, allocations: 3.812 kB / 0.4963 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001297/0.3893, allocations: 32.02 kB / 0.4963 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.3896, allocations: 109.4 kB / 0.4964 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3896, allocations: 4 kB / 0.4965 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3896, allocations: 5.453 kB / 0.4965 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3896, allocations: 0 / 0.4965 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.3901, allocations: 362.8 kB / 0.4968 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.3902, allocations: 64.05 kB / 0.4969 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.3903, allocations: 30.22 kB / 0.4969 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3903, allocations: 11.38 kB / 0.4969 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.3904, allocations: 39.7 kB / 0.4969 GB, free: 10.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.3904, allocations: 0 / 0.4969 GB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002565/0.3906, allocations: 75.94 kB / 0.497 GB, free: 10.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.3907, allocations: 102.8 kB / 0.4971 GB, free: 10.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3908, allocations: 141 kB / 0.4972 GB, free: 10.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3908, allocations: 25.7 kB / 0.4973 GB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.3909, allocations: 151.8 kB / 0.4974 GB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3909, allocations: 3.906 kB / 0.4974 GB, free: 9.996 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.3909, allocations: 0 / 0.4974 GB, free: 9.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.391, allocations: 315.3 kB / 0.4977 GB, free: 9.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.391, allocations: 8.609 kB / 0.4977 GB, free: 9.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.714e-05/0.3911, allocations: 39.59 kB / 0.4978 GB, free: 9.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.488e-05/0.3911, allocations: 13.31 kB / 0.4978 GB, free: 9.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3912, allocations: 0 / 0.4978 GB, free: 9.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001731/0.3913, allocations: 66.5 kB / 0.4978 GB, free: 9.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3914, allocations: 3.906 kB / 0.4978 GB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3914, allocations: 0 / 0.4978 GB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3914, allocations: 11.91 kB / 0.4979 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3916, allocations: 14.19 kB / 0.4979 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3916, allocations: 3.844 kB / 0.4979 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.998e-05/0.3917, allocations: 5.359 kB / 0.4979 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3917, allocations: 5.125 kB / 0.4979 GB, free: 9.598 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: 0 () * 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 4.394e-05/0.3918, allocations: 29.48 kB / 0.4979 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3919, allocations: 59.86 kB / 0.498 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.392, allocations: 12.02 kB / 0.498 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.392, allocations: 3.938 kB / 0.498 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.392, allocations: 0 / 0.498 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.392, allocations: 5.203 kB / 0.498 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.3922, allocations: 152.3 kB / 0.4981 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3923, allocations: 1.5 kB / 0.4981 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.3924, allocations: 14.52 kB / 0.4981 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3924, allocations: 7.938 kB / 0.4982 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3924, allocations: 3.875 kB / 0.4982 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3924, allocations: 1.453 kB / 0.4982 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3925, allocations: 0 / 0.4982 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001875/0.3926, allocations: 270 kB / 0.4984 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.3927, allocations: 104.6 kB / 0.4985 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.3928, allocations: 3.984 kB / 0.4985 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.393, allocations: 10.92 kB / 0.4985 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.393, allocations: 2.062 kB / 0.4985 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.3931, allocations: 3.719 kB / 0.4985 GB, free: 8.988 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.962e-05/0.3932, allocations: 118.2 kB / 0.4987 GB, free: 8.906 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003158/0.3935, allocations: 12.91 kB / 0.4987 GB, free: 8.902 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: 0 () * 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 8.896e-05/0.3936, allocations: 94.69 kB / 0.4988 GB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.3937, allocations: 33.12 kB / 0.4988 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3937, allocations: 0 / 0.4988 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.3938, allocations: 8.656 kB / 0.4988 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3942, allocations: 27.33 kB / 0.4988 GB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.3946, allocations: 159.4 kB / 0.499 GB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.3949, allocations: 0.7231 MB / 0.4997 GB, free: 7.953 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3949, allocations: 0 / 0.4997 GB, free: 7.953 MB / 330.7 MB Notification: Performance of Templates: time 0.002921/0.3978, allocations: 0.9304 MB / 0.5006 GB, free: 7.902 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches