Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [: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.001028/0.001028, allocations: 175 kB / 8.131 MB, free: 0.875 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 221.4 MB / 229.9 MB, free: 13.62 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000974/0.0009736, allocations: 106.6 kB / 280.8 MB, free: 10.53 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 6.563e-06/6.593e-06, allocations: 0 / 336.5 MB, free: 2.801 MB / 274.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07925/0.07927, allocations: 50.41 MB / 386.9 MB, free: 348 kB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.2955, allocations: 76 MB / 462.9 MB, free: 5.711 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.2958, allocations: 79.95 kB / 463 MB, free: 5.633 MB / 338.8 MB Notification: Performance of FrontEnd: time 0.003658/0.2995, allocations: 1.013 MB / 464 MB, free: 4.664 MB / 338.8 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.2995, allocations: 4 kB / 464 MB, free: 4.66 MB / 338.8 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.0003869/0.2999, allocations: 350.9 kB / 464.4 MB, free: 4.277 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2999, allocations: 13 kB / 464.4 MB, free: 4.266 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.3, allocations: 5.484 kB / 464.4 MB, free: 4.266 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.3001, allocations: 186.8 kB / 464.6 MB, free: 4.043 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3002, allocations: 1.75 kB / 464.6 MB, free: 4.043 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3002, allocations: 4 kB / 464.6 MB, free: 4.039 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.522e-05/0.3003, allocations: 27.98 kB / 464.6 MB, free: 4.012 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3005, allocations: 122.6 kB / 464.7 MB, free: 3.883 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3005, allocations: 5.062 kB / 464.7 MB, free: 3.879 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3005, allocations: 0 / 464.7 MB, free: 3.879 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3006, allocations: 0.8438 kB / 464.7 MB, free: 3.879 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.3007, allocations: 138.9 kB / 464.9 MB, free: 3.707 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.3008, allocations: 121.4 kB / 465 MB, free: 3.562 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.3009, allocations: 32.91 kB / 465 MB, free: 3.527 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3009, allocations: 3.75 kB / 465 MB, free: 3.527 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.3009, allocations: 33.66 kB / 465.1 MB, free: 3.488 MB / 338.8 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3009, allocations: 0.625 kB / 465.1 MB, free: 3.488 MB / 338.8 MB Notification: Performance of matching and sorting (n=6): time 0.0001466/0.3011, allocations: 61.59 kB / 465.1 MB, free: 3.422 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3011, allocations: 52.28 kB / 465.2 MB, free: 3.359 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.3012, allocations: 102 kB / 465.3 MB, free: 3.254 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.3012, allocations: 25.7 kB / 465.3 MB, free: 3.223 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.3013, allocations: 86.27 kB / 465.4 MB, free: 3.137 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.3013, allocations: 5.625 kB / 465.4 MB, free: 3.133 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.3013, allocations: 0 / 465.4 MB, free: 3.133 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.3014, allocations: 318.8 kB / 465.7 MB, free: 2.812 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.3014, allocations: 4 kB / 465.7 MB, free: 2.809 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.3015, allocations: 49.97 kB / 465.7 MB, free: 2.742 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.3015, allocations: 11.98 kB / 465.8 MB, free: 2.73 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3015, allocations: 4 kB / 465.8 MB, free: 2.727 MB / 338.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.138e-05/0.3016, allocations: 69.56 kB / 465.8 MB, free: 2.652 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.3016, allocations: 4 kB / 465.8 MB, free: 2.648 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3016, allocations: 4 kB / 465.8 MB, free: 2.645 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.3016, allocations: 0 / 465.8 MB, free: 2.645 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.3017, allocations: 8 kB / 465.8 MB, free: 2.637 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3017, allocations: 4.625 kB / 465.8 MB, free: 2.633 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.3017, allocations: 0 / 465.8 MB, free: 2.633 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3018, allocations: 4 kB / 465.9 MB, free: 2.629 MB / 338.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.582e-05/0.3018, allocations: 107.4 kB / 466 MB, free: 2.52 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.3019, allocations: 68.7 kB / 466 MB, free: 2.449 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.3019, allocations: 13.2 kB / 466 MB, free: 2.438 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.302, allocations: 0 / 466 MB, free: 2.438 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.302, allocations: 0 / 466 MB, free: 2.438 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.302, allocations: 0 / 466 MB, free: 2.438 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.859e-05/0.3021, allocations: 142.1 kB / 466.2 MB, free: 2.262 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3021, allocations: 0 / 466.2 MB, free: 2.262 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.3021, allocations: 8.938 kB / 466.2 MB, free: 2.254 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3021, allocations: 0 / 466.2 MB, free: 2.254 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3021, allocations: 3.984 kB / 466.2 MB, free: 2.25 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3022, allocations: 4 kB / 466.2 MB, free: 2.246 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3022, allocations: 4 kB / 466.2 MB, free: 2.242 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001025/0.3023, allocations: 88.97 kB / 466.3 MB, free: 2.137 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.3023, allocations: 86.36 kB / 466.4 MB, free: 2.035 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3023, allocations: 0 / 466.4 MB, free: 2.035 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3025, allocations: 19.98 kB / 466.4 MB, free: 2.016 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.3025, allocations: 0 / 466.4 MB, free: 2.016 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3025, allocations: 4.562 kB / 466.4 MB, free: 2.012 MB / 338.8 MB Notification: Performance of sort global known variables: time 3.858e-05/0.3025, allocations: 93.83 kB / 466.5 MB, free: 1.922 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.000196/0.3027, allocations: 11.94 kB / 466.5 MB, free: 1.91 MB / 338.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.921e-05/0.3028, allocations: 96.75 kB / 466.6 MB, free: 1.809 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 8.376e-05/0.3029, allocations: 35.94 kB / 466.6 MB, free: 1.773 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.3029, allocations: 0 / 466.6 MB, free: 1.773 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.3029, allocations: 0.75 kB / 466.6 MB, free: 1.773 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.3032, allocations: 38.16 kB / 466.7 MB, free: 1.738 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001812/0.3034, allocations: 74.5 kB / 466.7 MB, free: 1.645 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.3036, allocations: 0.704 MB / 467.4 MB, free: 0.9141 MB / 338.8 MB Notification: Performance of SimCode: time 2.71e-07/0.3036, allocations: 4 kB / 467.4 MB, free: 0.9102 MB / 338.8 MB Notification: Performance of Templates: time 0.002299/0.3059, allocations: 0.5659 MB / 468 MB, free: 392 kB / 338.8 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches