Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009742/0.0009743, allocations: 188 kB / 8.137 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.145/1.145, allocations: 221.4 MB / 229.9 MB, free: 3.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.0009051, allocations: 96.5 kB / 280.8 MB, free: 1.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.218e-06/9.238e-06, allocations: 4 kB / 336.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1982, allocations: 50.39 MB / 386.9 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07951/0.2778, allocations: 76.16 MB / 463.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.278, allocations: 84.73 kB / 463.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004708/0.2828, allocations: 1.43 MB / 464.6 MB, free: 9.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.2828, allocations: 3.938 kB / 464.6 MB, free: 9.246 MB / 346.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.0003537/0.2832, allocations: 366.3 kB / 464.9 MB, free: 8.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2832, allocations: 8.031 kB / 464.9 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.2832, allocations: 11.81 kB / 465 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.2834, allocations: 196.5 kB / 465.2 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.2834, allocations: 6.438 kB / 465.2 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.2835, allocations: 3.984 kB / 465.2 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.456e-05/0.2836, allocations: 33.81 kB / 465.2 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.2838, allocations: 113.8 kB / 465.3 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2838, allocations: 3.984 kB / 465.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2838, allocations: 4 kB / 465.3 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2838, allocations: 0 / 465.3 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.2842, allocations: 366.3 kB / 465.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.277e-05/0.2843, allocations: 59.78 kB / 465.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.2844, allocations: 26.7 kB / 465.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2844, allocations: 7.938 kB / 465.8 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2844, allocations: 38.56 kB / 465.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2844, allocations: 0 / 465.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002005/0.2846, allocations: 73.52 kB / 465.9 MB, free: 7.758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.2847, allocations: 102.8 kB / 466 MB, free: 7.633 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.2848, allocations: 132 kB / 466.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.2848, allocations: 33.8 kB / 466.1 MB, free: 7.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.2849, allocations: 88.05 kB / 466.2 MB, free: 7.367 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.2849, allocations: 3.906 kB / 466.2 MB, free: 7.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.2849, allocations: 4 kB / 466.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.285, allocations: 318.8 kB / 466.5 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.285, allocations: 4.562 kB / 466.5 MB, free: 7.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.2851, allocations: 35.42 kB / 466.6 MB, free: 6.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.2851, allocations: 19.94 kB / 466.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2851, allocations: 0 / 466.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001097/0.2852, allocations: 69.52 kB / 466.7 MB, free: 6.891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2853, allocations: 8 kB / 466.7 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2853, allocations: 0.5625 kB / 466.7 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.2853, allocations: 0 / 466.7 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2854, allocations: 20.11 kB / 466.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.2854, allocations: 3.938 kB / 466.7 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.2855, allocations: 9.75 kB / 466.7 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.2855, allocations: 0 / 466.7 MB, free: 6.852 MB / 346.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 6.935e-05/0.2856, allocations: 112.8 kB / 466.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/0.2857, allocations: 57.53 kB / 466.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.2857, allocations: 11.73 kB / 466.9 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2857, allocations: 0 / 466.9 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2857, allocations: 4 kB / 466.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2857, allocations: 0 / 466.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2859, allocations: 166 kB / 467.1 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2859, allocations: 0 / 467.1 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.286, allocations: 12 kB / 467.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.286, allocations: 0 / 467.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.286, allocations: 12.67 kB / 467.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2861, allocations: 0 / 467.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2861, allocations: 1 kB / 467.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001769/0.2862, allocations: 272.1 kB / 467.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.2863, allocations: 101 kB / 467.4 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.2863, allocations: 0 / 467.4 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2865, allocations: 4 kB / 467.4 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.2865, allocations: 15.83 kB / 467.5 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2865, allocations: 0 / 467.5 MB, free: 6 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.043e-05/0.2866, allocations: 114.1 kB / 467.6 MB, free: 5.891 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.2869, allocations: 8 kB / 467.6 MB, free: 5.883 MB / 346.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 0.0001085/0.287, allocations: 103.2 kB / 467.7 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.2871, allocations: 27.92 kB / 467.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2871, allocations: 0 / 467.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.635e-05/0.2871, allocations: 12 kB / 467.7 MB, free: 5.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.2874, allocations: 24.38 kB / 467.7 MB, free: 5.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.2877, allocations: 134.1 kB / 467.9 MB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.288, allocations: 0.7114 MB / 468.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.288, allocations: 3.938 kB / 468.6 MB, free: 4.801 MB / 346.7 MB Notification: Performance of Templates: time 0.002365/0.2904, allocations: 0.6696 MB / 469.3 MB, free: 4.164 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches