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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.011/1.011, allocations: 173.4 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.542e-05, allocations: 2.312 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00283/0.002856, allocations: 1.537 MB / 269.5 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.003697, allocations: 450.7 kB / 270 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.003772, allocations: 3.938 kB / 270 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.863e-05/0.003821, allocations: 3.984 kB / 270 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.004001, allocations: 11.94 kB / 270 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.004195, allocations: 43.77 kB / 270 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.004316, allocations: 51.84 kB / 270.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.004424, allocations: 7.984 kB / 270.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.004529, allocations: 31.92 kB / 270.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.004576, allocations: 15.92 kB / 270.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.004601, allocations: 4 kB / 270.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.004615, allocations: 4 kB / 270.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.004643, allocations: 11.97 kB / 270.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.004679, allocations: 15.88 kB / 270.2 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.004809, allocations: 43.88 kB / 270.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004812, allocations: 4 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004813, allocations: 0 / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.004817, allocations: 0 / 270.2 MB, free: 4.215 MB / 250.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.0005267/0.005344, allocations: 392.5 kB / 270.6 MB, free: 3.797 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.005392, allocations: 12.03 kB / 270.6 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.00544, allocations: 8.891 kB / 270.6 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.005652, allocations: 132.5 kB / 270.7 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.005674, allocations: 384 / 270.7 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.005695, allocations: 12.31 kB / 270.8 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.006034, allocations: 138.1 kB / 270.9 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.006046, allocations: 192 / 270.9 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.00606, allocations: 8.359 kB / 270.9 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.006073, allocations: 3.938 kB / 270.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.239e-05/0.006125, allocations: 12 kB / 270.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.006254, allocations: 120.6 kB / 271 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.006421, allocations: 51.11 kB / 271.1 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.006473, allocations: 27.61 kB / 271.1 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.006498, allocations: 4 kB / 271.1 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.006545, allocations: 33.39 kB / 271.1 MB, free: 3.141 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.006547, allocations: 0 / 271.1 MB, free: 3.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002097/0.006756, allocations: 69.64 kB / 271.2 MB, free: 3.066 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.00681, allocations: 59.34 kB / 271.3 MB, free: 2.996 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/0.006906, allocations: 169.9 kB / 271.4 MB, free: 2.812 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.006918, allocations: 29.7 kB / 271.5 MB, free: 2.777 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.006966, allocations: 134.9 kB / 271.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.006978, allocations: 0 / 271.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.007009, allocations: 23.38 kB / 271.6 MB, free: 2.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.007176, allocations: 496.1 kB / 272.1 MB, free: 2.113 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.007187, allocations: 4 kB / 272.1 MB, free: 2.109 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-06/0.007195, allocations: 3.984 kB / 272.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.007221, allocations: 11.69 kB / 272.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007223, allocations: 0 / 272.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.354e-05/0.007287, allocations: 41.77 kB / 272.2 MB, free: 2.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.007305, allocations: 10.97 kB / 272.2 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.00731, allocations: 0 / 272.2 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.007328, allocations: 3.938 kB / 272.2 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.127e-05/0.007369, allocations: 4.25 kB / 272.2 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.007376, allocations: 7.875 kB / 272.2 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.007397, allocations: 4 kB / 272.2 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.007401, allocations: 0 / 272.2 MB, free: 2.016 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/0.00748, allocations: 160.6 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.007563, allocations: 57.64 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.007599, allocations: 16.47 kB / 272.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007602, allocations: 0 / 272.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.007607, allocations: 3.938 kB / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.00761, allocations: 0 / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.477e-05/0.007684, allocations: 116.6 kB / 272.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.007686, allocations: 0 / 272.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.007732, allocations: 8 kB / 272.5 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.007734, allocations: 0 / 272.5 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.007744, allocations: 3.984 kB / 272.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007745, allocations: 0 / 272.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007746, allocations: 3.938 kB / 272.6 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.007862, allocations: 104.3 kB / 272.7 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.007878, allocations: 11.94 kB / 272.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.007897, allocations: 0 / 272.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.007948, allocations: 11.98 kB / 272.7 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-06/0.007951, allocations: 0 / 272.7 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.007955, allocations: 0 / 272.7 MB, free: 1.449 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.008008, allocations: 139.1 kB / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008008, allocations: 0 / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.008229, allocations: 4 kB / 272.8 MB, free: 1.309 MB / 250.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 () * Number of clocked states: 1 (pulse.next) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.552e-05/0.008315, allocations: 99.25 kB / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.008419, allocations: 31.61 kB / 272.9 MB, free: 1.168 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.00842, allocations: 0 / 272.9 MB, free: 1.168 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.008421, allocations: 4 kB / 273 MB, free: 1.164 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.008727, allocations: 26.23 kB / 273 MB, free: 1.137 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.009021, allocations: 136.2 kB / 273.1 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.552e-05/0.009067, allocations: 59.34 kB / 273.2 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.77e-05/0.009084, allocations: 8.062 kB / 273.2 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.009118, allocations: 16.38 kB / 273.2 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of SimCode: time 7.02e-07/0.009118, allocations: 0 / 273.2 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of Templates: time 0.00327/0.01239, allocations: 0.6716 MB / 273.9 MB, free: 216 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.735255931969732]