Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [: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.001451/0.001451, allocations: 183.2 kB / 8.136 MB, free: 2.207 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.164/1.164, allocations: 221.4 MB / 229.9 MB, free: 3.004 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.0009067/0.0009065, allocations: 103.2 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.494e-06, allocations: 0 / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1978, allocations: 50.4 MB / 386.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08382/0.2816, allocations: 76.26 MB / 463.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.2819, allocations: 87.88 kB / 463.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003643/0.2855, allocations: 1.141 MB / 464.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2856, allocations: 0 / 464.4 MB, free: 9.41 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.0002998/0.2859, allocations: 366.2 kB / 464.8 MB, free: 9.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2859, allocations: 8.031 kB / 464.8 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.2859, allocations: 7.906 kB / 464.8 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.2861, allocations: 179 kB / 464.9 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2861, allocations: 7.906 kB / 465 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2861, allocations: 3.938 kB / 465 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.247e-05/0.2862, allocations: 23.94 kB / 465 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.2864, allocations: 103 kB / 465.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2864, allocations: 0 / 465.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2864, allocations: 0 / 465.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2864, allocations: 0 / 465.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.2867, allocations: 254.3 kB / 465.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.2869, allocations: 130.3 kB / 465.5 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.287, allocations: 29.8 kB / 465.5 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.287, allocations: 0 / 465.5 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.287, allocations: 38.56 kB / 465.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.287, allocations: 0 / 465.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001476/0.2872, allocations: 57.53 kB / 465.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.2872, allocations: 77.11 kB / 465.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.2873, allocations: 120.3 kB / 465.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.2873, allocations: 25.7 kB / 465.8 MB, free: 7.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.2874, allocations: 96.03 kB / 465.9 MB, free: 7.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.2874, allocations: 4.031 kB / 465.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.2874, allocations: 0 / 465.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.2875, allocations: 314.8 kB / 466.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.2875, allocations: 4 kB / 466.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.2875, allocations: 31.42 kB / 466.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.2876, allocations: 11.94 kB / 466.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2876, allocations: 1.219 kB / 466.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.251e-05/0.2877, allocations: 57.53 kB / 466.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.2877, allocations: 8 kB / 466.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2877, allocations: 0 / 466.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2877, allocations: 0 / 466.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.2878, allocations: 8 kB / 466.3 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.2878, allocations: 5.125 kB / 466.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.2878, allocations: 19.83 kB / 466.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.2879, allocations: 0 / 466.3 MB, free: 7.199 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 5.314e-05/0.2879, allocations: 103.7 kB / 466.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.288, allocations: 49.55 kB / 466.5 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.288, allocations: 16.11 kB / 466.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2881, allocations: 0 / 466.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2881, allocations: 6.375 kB / 466.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2881, allocations: 4 kB / 466.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.2882, allocations: 150.1 kB / 466.7 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2882, allocations: 0.75 kB / 466.7 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.2883, allocations: 11.98 kB / 466.7 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2883, allocations: 0 / 466.7 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2883, allocations: 0 / 466.7 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2883, allocations: 4.875 kB / 466.7 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2883, allocations: 0 / 466.7 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001247/0.2884, allocations: 169.9 kB / 466.9 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.2885, allocations: 93 kB / 466.9 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.2885, allocations: 7.938 kB / 467 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.2886, allocations: 3.984 kB / 467 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.2886, allocations: 4 kB / 467 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2887, allocations: 1.562 kB / 467 MB, free: 6.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.4e-05/0.2887, allocations: 106.5 kB / 467.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.2889, allocations: 8 kB / 467.1 MB, free: 6.387 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 9.196e-05/0.289, allocations: 95.48 kB / 467.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.2891, allocations: 16 kB / 467.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2891, allocations: 3.938 kB / 467.2 MB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.2891, allocations: 11.98 kB / 467.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.2894, allocations: 24.03 kB / 467.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.2896, allocations: 104.8 kB / 467.3 MB, free: 6.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.2898, allocations: 0.7078 MB / 468 MB, free: 5.367 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2899, allocations: 0 / 468 MB, free: 5.367 MB / 346.7 MB Notification: Performance of Templates: time 0.002067/0.2919, allocations: 498.8 kB / 468.5 MB, free: 4.891 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches