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.001081/0.001081, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001171/0.001171, allocations: 137.8 kB / 24.97 MB, free: 9.305 MB / 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 0.9894/0.9894, allocations: 173.4 MB / 201.5 MB, free: 9.324 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.923e-06/1.923e-06, allocations: 0 / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.346e-05, allocations: 2.312 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003134/0.003168, allocations: 1.522 MB / 269.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008496/0.004017, allocations: 462.6 kB / 270 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.004084, allocations: 0 / 270 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.004113, allocations: 3.938 kB / 270.1 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.004265, allocations: 11.92 kB / 270.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.004452, allocations: 39.78 kB / 270.1 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.004577, allocations: 47.84 kB / 270.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004683, allocations: 11.98 kB / 270.2 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.004789, allocations: 35.91 kB / 270.2 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.004843, allocations: 19.92 kB / 270.2 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.004872, allocations: 4 kB / 270.2 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.004886, allocations: 4 kB / 270.2 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.004915, allocations: 11.97 kB / 270.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.00496, allocations: 11.94 kB / 270.2 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.005092, allocations: 39.83 kB / 270.3 MB, free: 4.496 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005096, allocations: 0 / 270.3 MB, free: 4.496 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.005098, allocations: 0 / 270.3 MB, free: 4.496 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.005103, allocations: 0 / 270.3 MB, free: 4.496 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.000562/0.005665, allocations: 396.5 kB / 270.7 MB, free: 4.074 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.005709, allocations: 16.02 kB / 270.7 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.005761, allocations: 12.89 kB / 270.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.005978, allocations: 128.5 kB / 270.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.006001, allocations: 384 / 270.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.006015, allocations: 4.375 kB / 270.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.006365, allocations: 142.1 kB / 271 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006374, allocations: 192 / 271 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.006385, allocations: 384 / 271 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.006395, allocations: 7.875 kB / 271 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.685e-05/0.006452, allocations: 19.98 kB / 271 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.006581, allocations: 116.6 kB / 271.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.006732, allocations: 51.11 kB / 271.2 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.006785, allocations: 27.67 kB / 271.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.006806, allocations: 4 kB / 271.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.006831, allocations: 33.39 kB / 271.2 MB, free: 3.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.562e-06/0.006833, allocations: 0 / 271.2 MB, free: 3.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001946/0.007027, allocations: 73.58 kB / 271.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.007084, allocations: 59.34 kB / 271.4 MB, free: 3.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.007192, allocations: 169.9 kB / 271.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.007205, allocations: 25.7 kB / 271.5 MB, free: 3.055 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.007255, allocations: 130.9 kB / 271.7 MB, free: 2.922 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.007269, allocations: 3.984 kB / 271.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.007303, allocations: 23.38 kB / 271.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.007459, allocations: 0.4884 MB / 272.2 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.007469, allocations: 0 / 272.2 MB, free: 2.387 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.007478, allocations: 0 / 272.2 MB, free: 2.387 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.007506, allocations: 15.62 kB / 272.2 MB, free: 2.367 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007508, allocations: 0 / 272.2 MB, free: 2.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.485e-05/0.007583, allocations: 41.69 kB / 272.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.007601, allocations: 8 kB / 272.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.007605, allocations: 0 / 272.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.007621, allocations: 96 / 272.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.582e-05/0.007666, allocations: 11.94 kB / 272.3 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.007673, allocations: 3.938 kB / 272.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.007698, allocations: 256 / 272.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.007704, allocations: 4 kB / 272.3 MB, free: 2.293 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 8.861e-05/0.007792, allocations: 156.6 kB / 272.4 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.007889, allocations: 61.58 kB / 272.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.007923, allocations: 16.42 kB / 272.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007925, allocations: 0 / 272.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.00793, allocations: 3.938 kB / 272.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007933, allocations: 0 / 272.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.307e-05/0.007996, allocations: 120.6 kB / 272.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007998, allocations: 0 / 272.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.008046, allocations: 8 kB / 272.6 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.008049, allocations: 0 / 272.6 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.008057, allocations: 0 / 272.6 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.008059, allocations: 0 / 272.6 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.008061, allocations: 0 / 272.6 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.008189, allocations: 108.2 kB / 272.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.008207, allocations: 7.938 kB / 272.7 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.008226, allocations: 0 / 272.7 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.008295, allocations: 19.98 kB / 272.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-06/0.008299, allocations: 0 / 272.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.008305, allocations: 0 / 272.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.789e-05/0.008362, allocations: 135.1 kB / 272.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008363, allocations: 0 / 272.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.008577, allocations: 8 kB / 272.9 MB, free: 1.582 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 0.0001256/0.008703, allocations: 95.25 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.008821, allocations: 27.69 kB / 273 MB, free: 1.449 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.008824, allocations: 4 kB / 273 MB, free: 1.445 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.008825, allocations: 3.938 kB / 273 MB, free: 1.441 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.009115, allocations: 26.3 kB / 273.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.00945, allocations: 132.2 kB / 273.2 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.354e-05/0.009494, allocations: 63.34 kB / 273.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.866e-05/0.009512, allocations: 4 kB / 273.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.009545, allocations: 8.5 kB / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of SimCode: time 1.263e-06/0.009547, allocations: 3.938 kB / 273.3 MB, free: 1.156 MB / 250.7 MB Notification: Performance of Templates: time 0.003074/0.01262, allocations: 0.6755 MB / 273.9 MB, free: 0.4922 MB / 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.744465121999383]