Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 190.7 kB / 7.847 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.2 MB / 213.5 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009239/0.0009239, allocations: 90.78 kB / 261.5 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08257/0.08257, allocations: 12.59 MB / 322 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/7.073e-06, allocations: 4 kB / 378.4 MB, free: 75.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09031, allocations: 50.36 MB / 428.8 MB, free: 25.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2744/0.3648, allocations: 77.25 MB / 0.4942 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.365, allocations: 79.22 kB / 0.4942 GB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.003508/0.3685, allocations: 0.9944 MB / 0.4952 GB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3686, allocations: 3.812 kB / 0.4952 GB, free: 11.66 MB / 330.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.0003372/0.3689, allocations: 357.3 kB / 0.4955 GB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3689, allocations: 8.516 kB / 0.4956 GB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.369, allocations: 11.78 kB / 0.4956 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.3692, allocations: 178.7 kB / 0.4957 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3692, allocations: 5.125 kB / 0.4957 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3692, allocations: 0 / 0.4957 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.767e-05/0.3693, allocations: 38.84 kB / 0.4958 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.3695, allocations: 120.4 kB / 0.4959 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3695, allocations: 3.938 kB / 0.4959 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3695, allocations: 0 / 0.4959 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3696, allocations: 0 / 0.4959 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.3697, allocations: 138 kB / 0.496 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3698, allocations: 128.3 kB / 0.4962 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.3698, allocations: 29.62 kB / 0.4962 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3699, allocations: 0 / 0.4962 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.3699, allocations: 34.94 kB / 0.4962 GB, free: 10.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3699, allocations: 0 / 0.4962 GB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001392/0.37, allocations: 55.81 kB / 0.4963 GB, free: 10.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3701, allocations: 60.02 kB / 0.4963 GB, free: 10.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.3701, allocations: 107.6 kB / 0.4964 GB, free: 10.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.3702, allocations: 25.7 kB / 0.4965 GB, free: 10.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/0.3702, allocations: 85.42 kB / 0.4965 GB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.3702, allocations: 4.094 kB / 0.4965 GB, free: 10.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.3702, allocations: 0 / 0.4965 GB, free: 10.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.3703, allocations: 312.9 kB / 0.4968 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.3703, allocations: 7.219 kB / 0.4968 GB, free: 10.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.3703, allocations: 44.92 kB / 0.4969 GB, free: 10.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.3703, allocations: 11.92 kB / 0.4969 GB, free: 10.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3703, allocations: 3.844 kB / 0.4969 GB, free: 10.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.784e-05/0.3704, allocations: 66.16 kB / 0.497 GB, free: 9.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3705, allocations: 8.359 kB / 0.497 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3705, allocations: 0 / 0.497 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3705, allocations: 3.844 kB / 0.497 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.3705, allocations: 9.375 kB / 0.497 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3705, allocations: 4.453 kB / 0.497 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.694e-05/0.3706, allocations: 8 kB / 0.497 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3706, allocations: 3.844 kB / 0.497 GB, free: 9.973 MB / 330.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 5.622e-05/0.3707, allocations: 113.7 kB / 0.4971 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.3707, allocations: 52.2 kB / 0.4972 GB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.3708, allocations: 16.23 kB / 0.4972 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3708, allocations: 0 / 0.4972 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3708, allocations: 4.734 kB / 0.4972 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3708, allocations: 0 / 0.4972 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.693e-05/0.3709, allocations: 137.5 kB / 0.4973 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3709, allocations: 0.6094 kB / 0.4973 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.3709, allocations: 11.91 kB / 0.4973 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3709, allocations: 4 kB / 0.4973 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.371, allocations: 1.172 kB / 0.4973 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.371, allocations: 0 / 0.4973 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.371, allocations: 3.906 kB / 0.4973 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.466e-05/0.3711, allocations: 90.53 kB / 0.4974 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.3711, allocations: 82.64 kB / 0.4975 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3711, allocations: 0 / 0.4975 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3712, allocations: 19.42 kB / 0.4975 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-06/0.3712, allocations: 0.7031 kB / 0.4975 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3713, allocations: 3.969 kB / 0.4975 GB, free: 9.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.444e-05/0.3713, allocations: 87.88 kB / 0.4976 GB, free: 9.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.3715, allocations: 7.812 kB / 0.4976 GB, free: 9.402 MB / 330.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 7.07e-05/0.3716, allocations: 106.1 kB / 0.4977 GB, free: 9.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.166e-05/0.3717, allocations: 34.86 kB / 0.4977 GB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3717, allocations: 0 / 0.4977 GB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.3717, allocations: 0 / 0.4977 GB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.3719, allocations: 34.64 kB / 0.4978 GB, free: 9.289 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001862/0.3721, allocations: 79.95 kB / 0.4979 GB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3723, allocations: 0.7068 MB / 0.4985 GB, free: 8.508 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3723, allocations: 3.938 kB / 0.4985 GB, free: 8.504 MB / 330.7 MB Notification: Performance of Templates: time 0.002397/0.3747, allocations: 0.5632 MB / 0.4991 GB, free: 8.441 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches