Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001175/0.001175, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008942/0.0008939, allocations: 94.19 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.077e-05/1.081e-05, allocations: 4 kB / 343.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.09712, allocations: 51.48 MB / 394.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.327/0.4242, allocations: 77.07 MB / 471.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4244, allocations: 72.72 kB / 471.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003794/0.4282, allocations: 1.25 MB / 473 MB, free: 13.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4283, allocations: 4 kB / 473 MB, free: 13.68 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.0002862/0.4286, allocations: 356.1 kB / 473.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4286, allocations: 12.03 kB / 473.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.4288, allocations: 19.05 kB / 473.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.4289, allocations: 205.1 kB / 473.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.429, allocations: 0 / 473.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.429, allocations: 4 kB / 473.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.338e-05/0.4291, allocations: 14.16 kB / 473.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.4293, allocations: 100.1 kB / 473.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4293, allocations: 4 kB / 473.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4293, allocations: 4 kB / 473.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4293, allocations: 3.984 kB / 473.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.4296, allocations: 252.6 kB / 474 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.4298, allocations: 132.1 kB / 474.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.4298, allocations: 22.41 kB / 474.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.4298, allocations: 3.375 kB / 474.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.4298, allocations: 41.75 kB / 474.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4299, allocations: 0 / 474.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001584/0.43, allocations: 56.28 kB / 474.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.4301, allocations: 77.11 kB / 474.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.4301, allocations: 126.3 kB / 474.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.4302, allocations: 25.7 kB / 474.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.4302, allocations: 83.7 kB / 474.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.4302, allocations: 3.188 kB / 474.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.4302, allocations: 4 kB / 474.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.4303, allocations: 314.3 kB / 474.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.4303, allocations: 15.53 kB / 474.9 MB, free: 11.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.4303, allocations: 27.31 kB / 474.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.982e-05/0.4303, allocations: 4 kB / 474.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4303, allocations: 0 / 474.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.541e-05/0.4304, allocations: 60.77 kB / 474.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4304, allocations: 7.188 kB / 475 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.4304, allocations: 0 / 475 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4305, allocations: 4 kB / 475 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.4305, allocations: 8 kB / 475 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4305, allocations: 3.938 kB / 475 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.4306, allocations: 11.28 kB / 475 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4306, allocations: 4 kB / 475 MB, free: 11.61 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 4.236e-05/0.4307, allocations: 109 kB / 475.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.4307, allocations: 48.7 kB / 475.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.4308, allocations: 7.438 kB / 475.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4308, allocations: 4 kB / 475.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4308, allocations: 0 / 475.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4308, allocations: 0 / 475.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.4309, allocations: 155.5 kB / 475.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4309, allocations: 4 kB / 475.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.431, allocations: 8 kB / 475.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.431, allocations: 4 kB / 475.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.431, allocations: 3.234 kB / 475.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.431, allocations: 0 / 475.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.431, allocations: 0 / 475.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.079e-05/0.4311, allocations: 172.3 kB / 475.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.4311, allocations: 92.14 kB / 475.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.4312, allocations: 7.469 kB / 475.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.4312, allocations: 4.875 kB / 475.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.4313, allocations: 240 / 475.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.4313, allocations: 4 kB / 475.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.976e-05/0.4313, allocations: 100.7 kB / 475.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.4316, allocations: 8 kB / 475.7 MB, free: 10.87 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 0.0001145/0.4317, allocations: 98.58 kB / 475.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.4318, allocations: 29.44 kB / 475.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4318, allocations: 0 / 475.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.4318, allocations: 4 kB / 475.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.4321, allocations: 22.28 kB / 475.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.4323, allocations: 97.33 kB / 475.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.4324, allocations: 0.7091 MB / 476.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4325, allocations: 4 kB / 476.7 MB, free: 9.898 MB / 346.7 MB Notification: Performance of Templates: time 0.002215/0.4347, allocations: 493.7 kB / 477.1 MB, free: 9.641 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches