Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [: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 trunk/package.mo): time 0.001991/0.001991, allocations: 200.2 kB / 8.537 MB, free: 472 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 225.5 MB / 234.4 MB, free: 9.48 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008584/0.0008584, allocations: 91.8 kB / 286.3 MB, free: 5.809 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.115e-06, allocations: 3.938 kB / 343.1 MB, free: 12.99 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2066, allocations: 51.45 MB / 394.6 MB, free: 47.43 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0872/0.2939, allocations: 77.6 MB / 472.2 MB, free: 14.25 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.2942, allocations: 75.95 kB / 472.3 MB, free: 14.18 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.01234/0.3066, allocations: 4.187 MB / 476.5 MB, free: 10.06 MB / 354.8 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3066, allocations: 4.938 kB / 476.5 MB, free: 10.06 MB / 354.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000445/0.3071, allocations: 403.7 kB / 476.9 MB, free: 9.621 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3071, allocations: 8.031 kB / 476.9 MB, free: 9.613 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.3073, allocations: 33.94 kB / 476.9 MB, free: 9.582 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.3075, allocations: 209.1 kB / 477.1 MB, free: 9.34 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3075, allocations: 5.656 kB / 477.1 MB, free: 9.336 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3076, allocations: 8 kB / 477.1 MB, free: 9.328 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001394/0.3077, allocations: 50.23 kB / 477.2 MB, free: 9.281 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.3081, allocations: 229.5 kB / 477.4 MB, free: 9.039 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3081, allocations: 2.062 kB / 477.4 MB, free: 9.039 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3081, allocations: 0 / 477.4 MB, free: 9.039 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3082, allocations: 15.81 kB / 477.4 MB, free: 9.027 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.3085, allocations: 271.1 kB / 477.7 MB, free: 8.719 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.3087, allocations: 125.9 kB / 477.8 MB, free: 8.57 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.373e-05/0.3088, allocations: 62.72 kB / 477.9 MB, free: 8.5 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.3088, allocations: 4.594 kB / 477.9 MB, free: 8.496 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.3089, allocations: 31.72 kB / 477.9 MB, free: 8.457 MB / 354.8 MB Notification: Performance of pre-optimization done (n=17): time 1.502e-06/0.3089, allocations: 4.781 kB / 477.9 MB, free: 8.453 MB / 354.8 MB Notification: Performance of matching and sorting (n=17): time 0.0002609/0.3091, allocations: 119.5 kB / 478 MB, free: 8.332 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.3092, allocations: 108.1 kB / 478.1 MB, free: 8.203 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3093, allocations: 133.3 kB / 478.3 MB, free: 8.066 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3094, allocations: 27.67 kB / 478.3 MB, free: 8.035 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.3094, allocations: 88.14 kB / 478.4 MB, free: 7.945 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.3095, allocations: 19.8 kB / 478.4 MB, free: 7.926 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.3095, allocations: 0 / 478.4 MB, free: 7.926 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.3096, allocations: 323.8 kB / 478.7 MB, free: 7.602 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.3096, allocations: 16.38 kB / 478.7 MB, free: 7.582 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.743e-05/0.3097, allocations: 126.9 kB / 478.8 MB, free: 7.41 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.3098, allocations: 38.58 kB / 478.9 MB, free: 7.375 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3098, allocations: 1.312 kB / 478.9 MB, free: 7.375 MB / 354.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002115/0.31, allocations: 145.2 kB / 479 MB, free: 7.227 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.31, allocations: 4 kB / 479 MB, free: 7.223 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.31, allocations: 4 kB / 479 MB, free: 7.219 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3101, allocations: 11.94 kB / 479 MB, free: 7.207 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3102, allocations: 31.92 kB / 479.1 MB, free: 7.176 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3102, allocations: 8.469 kB / 479.1 MB, free: 7.168 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.262e-05/0.3103, allocations: 19.83 kB / 479.1 MB, free: 7.148 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3103, allocations: 12 kB / 479.1 MB, free: 7.137 MB / 354.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.409e-05/0.3104, allocations: 108.9 kB / 479.2 MB, free: 7.023 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.3106, allocations: 113.1 kB / 479.3 MB, free: 6.91 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.3106, allocations: 16.5 kB / 479.3 MB, free: 6.895 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3106, allocations: 0 / 479.3 MB, free: 6.895 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.3107, allocations: 6.375 kB / 479.4 MB, free: 6.891 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3107, allocations: 0 / 479.4 MB, free: 6.891 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.3108, allocations: 178 kB / 479.5 MB, free: 6.68 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3108, allocations: 0 / 479.5 MB, free: 6.68 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.311, allocations: 27.92 kB / 479.6 MB, free: 6.652 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.311, allocations: 4 kB / 479.6 MB, free: 6.648 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.311, allocations: 3.984 kB / 479.6 MB, free: 6.645 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.311, allocations: 4 kB / 479.6 MB, free: 6.641 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.311, allocations: 0 / 479.6 MB, free: 6.641 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002546/0.3113, allocations: 261.1 kB / 479.8 MB, free: 6.355 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.3114, allocations: 104.9 kB / 479.9 MB, free: 6.234 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3114, allocations: 0 / 479.9 MB, free: 6.234 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.3115, allocations: 7.984 kB / 479.9 MB, free: 6.227 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.3115, allocations: 0 / 479.9 MB, free: 6.227 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3115, allocations: 4 kB / 479.9 MB, free: 6.223 MB / 354.8 MB Notification: Performance of sort global known variables: time 7.094e-05/0.3116, allocations: 115.3 kB / 480 MB, free: 6.109 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.0002811/0.3119, allocations: 19.91 kB / 480.1 MB, free: 6.09 MB / 354.8 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 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001157/0.312, allocations: 103.2 kB / 480.2 MB, free: 5.98 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.3122, allocations: 80.81 kB / 480.2 MB, free: 5.902 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3122, allocations: 0 / 480.2 MB, free: 5.902 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.3122, allocations: 4 kB / 480.2 MB, free: 5.898 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3126, allocations: 75.92 kB / 480.3 MB, free: 5.824 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.313, allocations: 166.7 kB / 480.5 MB, free: 5.629 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.3133, allocations: 0.7427 MB / 481.2 MB, free: 4.863 MB / 354.8 MB Notification: Performance of SimCode: time 3e-07/0.3133, allocations: 4.781 kB / 481.2 MB, free: 4.859 MB / 354.8 MB Notification: Performance of Templates: time 0.003273/0.3166, allocations: 1.109 MB / 482.3 MB, free: 3.789 MB / 354.8 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches