Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001034/0.001034, allocations: 196 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, 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.0008892/0.0008891, allocations: 96.75 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.175e-06, allocations: 4 kB / 343.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09656/0.09658, allocations: 51.47 MB / 394.6 MB, free: 5.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4228, allocations: 76.84 MB / 471.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.423, allocations: 72.94 kB / 471.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003391/0.4264, allocations: 1.08 MB / 472.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.4265, allocations: 0 / 472.6 MB, free: 13.91 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.0003844/0.4269, allocations: 359.3 kB / 473 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4269, allocations: 8.031 kB / 473 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.4269, allocations: 9.438 kB / 473 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.4271, allocations: 180.3 kB / 473.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4272, allocations: 4 kB / 473.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.4272, allocations: 4 kB / 473.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.508e-05/0.4273, allocations: 31.7 kB / 473.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.4275, allocations: 121.9 kB / 473.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4276, allocations: 0 / 473.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4276, allocations: 4 kB / 473.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4276, allocations: 3.281 kB / 473.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.4277, allocations: 146 kB / 473.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.4279, allocations: 118.8 kB / 473.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.4279, allocations: 23.92 kB / 473.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.428, allocations: 0 / 473.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.428, allocations: 38.19 kB / 473.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.428, allocations: 0 / 473.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001789/0.4282, allocations: 63.39 kB / 473.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.4282, allocations: 55.41 kB / 473.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.4283, allocations: 100.2 kB / 473.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.4283, allocations: 25.7 kB / 473.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.4284, allocations: 83.89 kB / 474 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.4284, allocations: 7.188 kB / 474 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.4284, allocations: 0 / 474 MB, free: 12.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.4285, allocations: 318.2 kB / 474.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.4285, allocations: 8 kB / 474.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.4285, allocations: 40.41 kB / 474.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.163e-05/0.4285, allocations: 15.27 kB / 474.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4285, allocations: 0 / 474.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.907e-05/0.4286, allocations: 64.45 kB / 474.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.4286, allocations: 8 kB / 474.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4287, allocations: 3.828 kB / 474.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4287, allocations: 4 kB / 474.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.4287, allocations: 14.23 kB / 474.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4287, allocations: 4.625 kB / 474.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.4288, allocations: 7.062 kB / 474.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.4288, allocations: 8.188 kB / 474.4 MB, free: 12 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: 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 7.754e-05/0.4289, allocations: 105 kB / 474.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.4289, allocations: 60.64 kB / 474.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.429, allocations: 7.875 kB / 474.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.429, allocations: 0 / 474.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.429, allocations: 4 kB / 474.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.429, allocations: 3.281 kB / 474.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.64e-05/0.4291, allocations: 140.2 kB / 474.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4291, allocations: 0 / 474.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.4292, allocations: 13.02 kB / 474.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4292, allocations: 0 / 474.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4292, allocations: 7.984 kB / 474.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4292, allocations: 0 / 474.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4292, allocations: 0 / 474.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.455e-05/0.4293, allocations: 83.09 kB / 474.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.4293, allocations: 84.39 kB / 474.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4294, allocations: 8.812 kB / 474.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.4295, allocations: 15.38 kB / 475 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-06/0.4295, allocations: 4 kB / 475 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4295, allocations: 0 / 475 MB, free: 11.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.927e-05/0.4295, allocations: 92.14 kB / 475.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.4297, allocations: 8 kB / 475.1 MB, free: 11.36 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: 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 0.0001012/0.4298, allocations: 99.25 kB / 475.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.89e-05/0.4299, allocations: 32.5 kB / 475.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4299, allocations: 0 / 475.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-07/0.4299, allocations: 0 / 475.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.4302, allocations: 36.39 kB / 475.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.4304, allocations: 84.14 kB / 475.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.4306, allocations: 0.7017 MB / 476 MB, free: 10.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4306, allocations: 0 / 476 MB, free: 10.4 MB / 346.7 MB Notification: Performance of Templates: time 0.00234/0.4329, allocations: 0.5607 MB / 476.6 MB, free: 10.09 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches