Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [: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.001/0.001, allocations: 178.9 kB / 8.13 MB, free: 0.8555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 221.4 MB / 229.9 MB, free: 13.61 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009367/0.0009367, allocations: 100.1 kB / 280.8 MB, free: 10.51 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.274e-06, allocations: 0 / 336.5 MB, free: 2.777 MB / 274.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08115/0.08117, allocations: 50.41 MB / 386.9 MB, free: 324 kB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.2826, allocations: 75.72 MB / 462.7 MB, free: 5.949 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.2829, allocations: 77.27 kB / 462.7 MB, free: 5.875 MB / 338.8 MB Notification: Performance of FrontEnd: time 0.003116/0.286, allocations: 0.9429 MB / 463.7 MB, free: 4.965 MB / 338.8 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.286, allocations: 4 kB / 463.7 MB, free: 4.961 MB / 338.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002957/0.2863, allocations: 344.6 kB / 464 MB, free: 4.586 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2864, allocations: 8.031 kB / 464 MB, free: 4.578 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.2864, allocations: 8.781 kB / 464 MB, free: 4.57 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.2867, allocations: 195.3 kB / 464.2 MB, free: 4.344 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2867, allocations: 8.094 kB / 464.2 MB, free: 4.34 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2867, allocations: 4 kB / 464.2 MB, free: 4.336 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.807e-05/0.2868, allocations: 17.12 kB / 464.3 MB, free: 4.32 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.287, allocations: 109 kB / 464.4 MB, free: 4.203 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.287, allocations: 4.75 kB / 464.4 MB, free: 4.199 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.287, allocations: 0 / 464.4 MB, free: 4.199 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.287, allocations: 0.6562 kB / 464.4 MB, free: 4.199 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.2872, allocations: 158.7 kB / 464.5 MB, free: 4.008 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.2873, allocations: 52.33 kB / 464.6 MB, free: 3.949 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.464e-05/0.2874, allocations: 37.98 kB / 464.6 MB, free: 3.91 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.2874, allocations: 4 kB / 464.6 MB, free: 3.906 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2874, allocations: 33.06 kB / 464.6 MB, free: 3.867 MB / 338.8 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.2874, allocations: 0.7188 kB / 464.6 MB, free: 3.867 MB / 338.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001499/0.2876, allocations: 68.12 kB / 464.7 MB, free: 3.797 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.2876, allocations: 55.89 kB / 464.8 MB, free: 3.73 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2877, allocations: 128.4 kB / 464.9 MB, free: 3.598 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.2878, allocations: 25.7 kB / 464.9 MB, free: 3.566 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.2878, allocations: 85.17 kB / 465 MB, free: 3.48 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.2878, allocations: 4 kB / 465 MB, free: 3.477 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.2878, allocations: 0.75 kB / 465 MB, free: 3.477 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.2879, allocations: 319.7 kB / 465.3 MB, free: 3.156 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.2879, allocations: 4 kB / 465.3 MB, free: 3.152 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.288, allocations: 60.31 kB / 465.4 MB, free: 3.074 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.288, allocations: 15.92 kB / 465.4 MB, free: 3.059 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.288, allocations: 4 kB / 465.4 MB, free: 3.055 MB / 338.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001095/0.2881, allocations: 83.84 kB / 465.5 MB, free: 2.973 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.2882, allocations: 4 kB / 465.5 MB, free: 2.969 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2882, allocations: 0 / 465.5 MB, free: 2.969 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2882, allocations: 4 kB / 465.5 MB, free: 2.965 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.2883, allocations: 19.92 kB / 465.5 MB, free: 2.945 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2883, allocations: 4 kB / 465.5 MB, free: 2.941 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.2883, allocations: 4.75 kB / 465.5 MB, free: 2.938 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2883, allocations: 4 kB / 465.5 MB, free: 2.934 MB / 338.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.754e-05/0.2884, allocations: 106.1 kB / 465.6 MB, free: 2.824 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.2885, allocations: 67.72 kB / 465.7 MB, free: 2.754 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.2885, allocations: 12.44 kB / 465.7 MB, free: 2.742 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2885, allocations: 4 kB / 465.7 MB, free: 2.738 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2885, allocations: 0 / 465.7 MB, free: 2.738 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2885, allocations: 3.906 kB / 465.7 MB, free: 2.734 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.087e-05/0.2886, allocations: 154.1 kB / 465.9 MB, free: 2.547 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2886, allocations: 2.344 kB / 465.9 MB, free: 2.547 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.2887, allocations: 15.38 kB / 465.9 MB, free: 2.535 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2887, allocations: 0.5938 kB / 465.9 MB, free: 2.535 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2887, allocations: 0 / 465.9 MB, free: 2.535 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2887, allocations: 3.938 kB / 465.9 MB, free: 2.535 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.2887, allocations: 3.906 kB / 465.9 MB, free: 2.531 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001079/0.2888, allocations: 97.02 kB / 466 MB, free: 2.418 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.2889, allocations: 89 kB / 466.1 MB, free: 2.312 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2889, allocations: 3.984 kB / 466.1 MB, free: 2.309 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.289, allocations: 0 / 466.1 MB, free: 2.309 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-06/0.289, allocations: 0 / 466.1 MB, free: 2.309 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.289, allocations: 7.938 kB / 466.1 MB, free: 2.301 MB / 338.8 MB Notification: Performance of sort global known variables: time 5.74e-05/0.2891, allocations: 107.8 kB / 466.2 MB, free: 2.195 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.0001962/0.2893, allocations: 9.5 kB / 466.2 MB, free: 2.188 MB / 338.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001022/0.2894, allocations: 97.22 kB / 466.3 MB, free: 2.086 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.2895, allocations: 35.94 kB / 466.3 MB, free: 2.051 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2895, allocations: 1.031 kB / 466.3 MB, free: 2.051 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.2895, allocations: 0 / 466.3 MB, free: 2.051 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.2897, allocations: 40.05 kB / 466.4 MB, free: 2.02 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.29, allocations: 110.1 kB / 466.5 MB, free: 1.891 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.2902, allocations: 0.7094 MB / 467.2 MB, free: 1.156 MB / 338.8 MB Notification: Performance of SimCode: time 2.6e-07/0.2902, allocations: 0 / 467.2 MB, free: 1.156 MB / 338.8 MB Notification: Performance of Templates: time 0.002382/0.2926, allocations: 0.5314 MB / 467.7 MB, free: 0.6523 MB / 338.8 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches