Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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.UniformNoiseXorshift64star,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoiseXorshift64star.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoiseXorshift64star.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star") [: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.0009867/0.0009868, allocations: 184 kB / 8.138 MB, free: 2.219 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.143/1.143, allocations: 221.4 MB / 229.9 MB, free: 3.027 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.0009143/0.0009143, allocations: 104.4 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.822e-06/6.852e-06, allocations: 0 / 336.5 MB, free: 9.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1849, allocations: 50.41 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07872/0.2637, allocations: 76.1 MB / 463 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.264, allocations: 79.89 kB / 463.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004325/0.2683, allocations: 1.385 MB / 464.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.2683, allocations: 4 kB / 464.5 MB, free: 9.293 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002956/0.2686, allocations: 359.3 kB / 464.8 MB, free: 8.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2687, allocations: 8.031 kB / 464.8 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.2687, allocations: 7.906 kB / 464.9 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.2689, allocations: 186.9 kB / 465 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.2689, allocations: 0 / 465 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.2689, allocations: 4 kB / 465 MB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.687e-05/0.269, allocations: 29.45 kB / 465.1 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.2693, allocations: 129.9 kB / 465.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2693, allocations: 3.938 kB / 465.2 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.2693, allocations: 0 / 465.2 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2693, allocations: 7.984 kB / 465.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.2696, allocations: 250.2 kB / 465.5 MB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.193e-05/0.2697, allocations: 50.56 kB / 465.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.2697, allocations: 16.92 kB / 465.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.2697, allocations: 0 / 465.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2698, allocations: 35.06 kB / 465.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2698, allocations: 0 / 465.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001492/0.2699, allocations: 65.55 kB / 465.6 MB, free: 8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.27, allocations: 63.34 kB / 465.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2701, allocations: 128.3 kB / 465.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.2701, allocations: 25.7 kB / 465.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.2701, allocations: 85.11 kB / 465.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.2702, allocations: 11.91 kB / 465.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.2702, allocations: 0 / 465.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.2703, allocations: 314.8 kB / 466.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.2703, allocations: 15.98 kB / 466.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.43e-05/0.2703, allocations: 53.83 kB / 466.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.138e-05/0.2704, allocations: 19.98 kB / 466.3 MB, free: 7.242 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2704, allocations: 0 / 466.3 MB, free: 7.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001485/0.2706, allocations: 85.47 kB / 466.4 MB, free: 7.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2706, allocations: 4.844 kB / 466.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2706, allocations: 4 kB / 466.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2706, allocations: 0 / 466.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.2707, allocations: 15.98 kB / 466.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2707, allocations: 10.36 kB / 466.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.2708, allocations: 8.406 kB / 466.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.2708, allocations: 4 kB / 466.4 MB, free: 7.109 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1],$CLKPRE.uniformNoiseXorshift64star.state64[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.324e-05/0.2709, allocations: 109.2 kB / 466.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.271, allocations: 66.91 kB / 466.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.2711, allocations: 78.86 kB / 466.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2711, allocations: 0 / 466.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2711, allocations: 0 / 466.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2711, allocations: 0 / 466.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.038e-05/0.2712, allocations: 158.1 kB / 466.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.2712, allocations: 1.312 kB / 466.9 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.2713, allocations: 4 kB / 466.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2713, allocations: 0 / 466.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.2713, allocations: 8.641 kB / 466.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2713, allocations: 0 / 466.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2713, allocations: 0 / 466.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001072/0.2714, allocations: 94.31 kB / 467 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.2715, allocations: 93 kB / 467 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.2715, allocations: 0 / 467 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.2716, allocations: 4 kB / 467.1 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-06/0.2716, allocations: 3.938 kB / 467.1 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2716, allocations: 7.984 kB / 467.1 MB, free: 6.402 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.199e-05/0.2717, allocations: 107.2 kB / 467.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.2719, allocations: 16 kB / 467.2 MB, free: 6.281 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002623/0.2722, allocations: 125.5 kB / 467.3 MB, free: 6.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.931e-05/0.2723, allocations: 39.92 kB / 467.3 MB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2723, allocations: 384 / 467.3 MB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.71e-07/0.2723, allocations: 4 kB / 467.3 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.2726, allocations: 62.41 kB / 467.4 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.2728, allocations: 119.1 kB / 467.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.2731, allocations: 0.7091 MB / 468.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2731, allocations: 0 / 468.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of Templates: time 0.003158/0.2763, allocations: 0.9321 MB / 469.2 MB, free: 4.281 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches