Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001069/0.001069, allocations: 197.9 kB / 8.54 MB, free: 1.812 MB / 5.871 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: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008532/0.0008534, allocations: 91.66 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.025e-06, allocations: 4 kB / 343.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08799, allocations: 51.47 MB / 394.6 MB, free: 5.066 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2719/0.3599, allocations: 76.52 MB / 471.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.3601, allocations: 79 kB / 471.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.002758/0.3629, allocations: 0.9441 MB / 472.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.3629, allocations: 7.562 kB / 472.2 MB, free: 14.18 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002783/0.3632, allocations: 350 kB / 472.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3633, allocations: 8.031 kB / 472.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.3633, allocations: 7.906 kB / 472.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.3635, allocations: 195 kB / 472.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3635, allocations: 4 kB / 472.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.3636, allocations: 4 kB / 472.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.106e-05/0.3636, allocations: 11.62 kB / 472.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3638, allocations: 119.5 kB / 472.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3639, allocations: 3.938 kB / 472.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3639, allocations: 0 / 472.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/0.3639, allocations: 0 / 472.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.364, allocations: 155.2 kB / 473 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.3641, allocations: 59.38 kB / 473.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.3642, allocations: 34.98 kB / 473.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.3642, allocations: 3.938 kB / 473.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.3642, allocations: 30.72 kB / 473.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3642, allocations: 0 / 473.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001666/0.3644, allocations: 74.41 kB / 473.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3644, allocations: 58.47 kB / 473.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.3645, allocations: 121.9 kB / 473.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.3645, allocations: 29.7 kB / 473.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.3646, allocations: 90.2 kB / 473.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.3646, allocations: 0 / 473.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.3646, allocations: 0 / 473.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.3646, allocations: 317.7 kB / 473.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.3647, allocations: 11.56 kB / 473.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.3647, allocations: 57.8 kB / 473.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/0.3647, allocations: 11.44 kB / 473.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3647, allocations: 4 kB / 473.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.345e-05/0.3648, allocations: 83.06 kB / 474 MB, free: 12.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.3648, allocations: 4 kB / 474 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3649, allocations: 0 / 474 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3649, allocations: 4 kB / 474 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.3649, allocations: 12 kB / 474 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.365, allocations: 7.938 kB / 474 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.587e-05/0.365, allocations: 7.906 kB / 474 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.365, allocations: 7.438 kB / 474 MB, free: 12.28 MB / 346.7 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 4.843e-05/0.3651, allocations: 105 kB / 474.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.3651, allocations: 67.11 kB / 474.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.3652, allocations: 12.12 kB / 474.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3652, allocations: 0 / 474.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.3652, allocations: 3.906 kB / 474.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.3652, allocations: 3.938 kB / 474.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.586e-05/0.3653, allocations: 149.7 kB / 474.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3653, allocations: 1.875 kB / 474.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.3653, allocations: 12 kB / 474.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3653, allocations: 8.219 kB / 474.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3654, allocations: 0 / 474.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3654, allocations: 3.906 kB / 474.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3654, allocations: 0 / 474.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.651e-05/0.3655, allocations: 101.2 kB / 474.5 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.3655, allocations: 91.67 kB / 474.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3655, allocations: 0 / 474.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.881e-05/0.3656, allocations: 0 / 474.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.3656, allocations: 7.328 kB / 474.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3656, allocations: 4 kB / 474.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.899e-05/0.3656, allocations: 109.8 kB / 474.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.3658, allocations: 4 kB / 474.7 MB, free: 11.6 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: 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 8.786e-05/0.3659, allocations: 99.19 kB / 474.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.015e-05/0.366, allocations: 36.88 kB / 474.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.366, allocations: 0.5 kB / 474.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.366, allocations: 4 kB / 474.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.3662, allocations: 31.61 kB / 474.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.3665, allocations: 107.4 kB / 475 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3667, allocations: 0.7087 MB / 475.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3667, allocations: 0 / 475.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of Templates: time 0.002291/0.369, allocations: 0.5374 MB / 476.2 MB, free: 10.31 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches