Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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 4.0.0+maint.om/package.mo): time 0.0009828/0.0009828, allocations: 184.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.198/1.198, allocations: 221.4 MB / 229.9 MB, free: 3.316 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.0008738/0.0008738, allocations: 99.81 kB / 280.8 MB, free: 1.297 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.405e-06/8.426e-06, allocations: 4 kB / 336.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1955, allocations: 50.39 MB / 386.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08342/0.2789, allocations: 75.82 MB / 462.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.2792, allocations: 71.95 kB / 462.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003231/0.2824, allocations: 0.9831 MB / 463.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.2825, allocations: 4.562 kB / 463.8 MB, free: 10.01 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.0003169/0.2828, allocations: 355.6 kB / 464.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2828, allocations: 8.031 kB / 464.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.2829, allocations: 8.5 kB / 464.2 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.2831, allocations: 192.8 kB / 464.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2831, allocations: 4 kB / 464.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2831, allocations: 0 / 464.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.094e-05/0.2832, allocations: 29.23 kB / 464.4 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.2835, allocations: 130.5 kB / 464.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2835, allocations: 0.8438 kB / 464.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2835, allocations: 0 / 464.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2835, allocations: 11.94 kB / 464.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.2836, allocations: 146.1 kB / 464.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.2838, allocations: 69.77 kB / 464.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.2839, allocations: 40.89 kB / 464.8 MB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2839, allocations: 4.75 kB / 464.8 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.2839, allocations: 38.56 kB / 464.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2839, allocations: 0 / 464.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001505/0.2841, allocations: 77.56 kB / 464.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2841, allocations: 59.31 kB / 464.9 MB, free: 8.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.2842, allocations: 124.1 kB / 465.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2843, allocations: 25.7 kB / 465.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.2843, allocations: 93.25 kB / 465.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.868e-06/0.2843, allocations: 0 / 465.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.2843, allocations: 0 / 465.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2845, allocations: 322.8 kB / 465.5 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.2845, allocations: 7.984 kB / 465.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.2846, allocations: 58.81 kB / 465.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.2846, allocations: 19.89 kB / 465.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2846, allocations: 1.219 kB / 465.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001104/0.2847, allocations: 77.56 kB / 465.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.2847, allocations: 7.906 kB / 465.7 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2847, allocations: 8.25 kB / 465.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.2848, allocations: 0 / 465.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.2848, allocations: 23.92 kB / 465.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2848, allocations: 0 / 465.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.2849, allocations: 7.938 kB / 465.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2849, allocations: 4 kB / 465.7 MB, free: 7.879 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * 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 6.99e-05/0.285, allocations: 112.9 kB / 465.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.2851, allocations: 73.53 kB / 465.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.2851, allocations: 16.48 kB / 465.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2851, allocations: 7.984 kB / 465.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2851, allocations: 1.344 kB / 465.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2852, allocations: 0 / 465.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.562e-05/0.2853, allocations: 150.1 kB / 466.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2853, allocations: 0.5 kB / 466.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.2853, allocations: 15.98 kB / 466.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2853, allocations: 0 / 466.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.2854, allocations: 1.25 kB / 466.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2854, allocations: 0 / 466.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2854, allocations: 0 / 466.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001276/0.2855, allocations: 118 kB / 466.2 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.2856, allocations: 96.94 kB / 466.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2856, allocations: 4 kB / 466.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.2856, allocations: 0 / 466.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.2856, allocations: 0 / 466.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2857, allocations: 4 kB / 466.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.672e-05/0.2857, allocations: 103.3 kB / 466.4 MB, free: 7.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.2859, allocations: 4 kB / 466.4 MB, free: 7.094 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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 9.813e-05/0.286, allocations: 104.8 kB / 466.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.409e-05/0.2861, allocations: 42.19 kB / 466.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2861, allocations: 0 / 466.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.2861, allocations: 4 kB / 466.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.2864, allocations: 52.47 kB / 466.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.2866, allocations: 115.7 kB / 466.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.2869, allocations: 0.7192 MB / 467.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.287, allocations: 0 / 467.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of Templates: time 0.002408/0.2894, allocations: 0.6824 MB / 468.1 MB, free: 5.344 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches