Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.001226/0.001227, allocations: 183 kB / 8.132 MB, free: 2.23 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.153/1.153, allocations: 221.4 MB / 229.9 MB, free: 3.043 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.0008689/0.0008689, allocations: 92.44 kB / 280.8 MB, free: 1.297 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.782e-06/6.822e-06, allocations: 0 / 336.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 50.4 MB / 386.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07763/0.2792, allocations: 75.61 MB / 462.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.2795, allocations: 79.89 kB / 462.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003158/0.2826, allocations: 1.006 MB / 463.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.2827, allocations: 0.5 kB / 463.6 MB, free: 10.19 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.0003362/0.283, allocations: 366.7 kB / 464 MB, free: 9.789 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2831, allocations: 12.03 kB / 464 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.2831, allocations: 7.906 kB / 464 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2833, allocations: 198.4 kB / 464.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.2833, allocations: 4.844 kB / 464.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2833, allocations: 0 / 464.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001144/0.2834, allocations: 36.91 kB / 464.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.2837, allocations: 101.9 kB / 464.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2837, allocations: 0 / 464.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2837, allocations: 1.062 kB / 464.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2837, allocations: 4 kB / 464.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.2841, allocations: 358.4 kB / 464.7 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.759e-05/0.2842, allocations: 61.77 kB / 464.7 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.2843, allocations: 26.7 kB / 464.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.2843, allocations: 3.938 kB / 464.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2843, allocations: 38.55 kB / 464.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2843, allocations: 4 kB / 464.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001983/0.2845, allocations: 69.44 kB / 464.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.2846, allocations: 102.8 kB / 465 MB, free: 8.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2847, allocations: 129 kB / 465.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.2847, allocations: 25.7 kB / 465.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.2848, allocations: 80.14 kB / 465.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.2848, allocations: 7.906 kB / 465.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.2848, allocations: 4.094 kB / 465.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.285, allocations: 318.8 kB / 465.5 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.285, allocations: 8 kB / 465.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.285, allocations: 27.44 kB / 465.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.285, allocations: 15.92 kB / 465.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.285, allocations: 7.938 kB / 465.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.636e-05/0.2851, allocations: 61.62 kB / 465.6 MB, free: 7.891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2852, allocations: 4 kB / 465.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2852, allocations: 0 / 465.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.7e-05/0.2852, allocations: 7.984 kB / 465.7 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.2853, allocations: 12.56 kB / 465.7 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2853, allocations: 4.125 kB / 465.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.2854, allocations: 10.8 kB / 465.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2854, allocations: 4 kB / 465.7 MB, free: 7.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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.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 7.272e-05/0.2855, allocations: 108.9 kB / 465.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-05/0.2856, allocations: 53.53 kB / 465.8 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.2856, allocations: 12.69 kB / 465.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2856, allocations: 4.031 kB / 465.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2856, allocations: 0 / 465.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.2857, allocations: 7.984 kB / 465.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.2859, allocations: 150.1 kB / 466 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.2859, allocations: 4 kB / 466 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.2859, allocations: 8 kB / 466 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2859, allocations: 4 kB / 466 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.286, allocations: 0 / 466 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.286, allocations: 3.984 kB / 466 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.286, allocations: 7.938 kB / 466 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000171/0.2862, allocations: 266.9 kB / 466.3 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.2862, allocations: 89 kB / 466.4 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2863, allocations: 7.938 kB / 466.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2864, allocations: 11.98 kB / 466.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.2864, allocations: 4 kB / 466.4 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.2864, allocations: 4 kB / 466.4 MB, free: 7.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.14e-05/0.2865, allocations: 106.4 kB / 466.5 MB, free: 6.914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000249/0.2868, allocations: 4 kB / 466.5 MB, free: 6.91 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.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 0.0001149/0.2869, allocations: 105.4 kB / 466.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.332e-05/0.287, allocations: 27.92 kB / 466.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.287, allocations: 0 / 466.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.917e-05/0.287, allocations: 8 kB / 466.7 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.2873, allocations: 28.42 kB / 466.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.2876, allocations: 121.7 kB / 466.8 MB, free: 6.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.2879, allocations: 0.7114 MB / 467.5 MB, free: 5.848 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2879, allocations: 4 kB / 467.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of Templates: time 0.002253/0.2902, allocations: 0.6169 MB / 468.1 MB, free: 5.254 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches