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.001336/0.001336, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001037/0.001037, allocations: 145.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 0.9749/0.9749, allocations: 173.3 MB / 201.1 MB, free: 8.973 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.893e-06/1.893e-06, allocations: 3.938 kB / 268 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.718e-05, allocations: 6.312 kB / 268 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002401/0.002428, allocations: 1.516 MB / 269.5 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007256/0.003154, allocations: 454.8 kB / 270 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.00322, allocations: 3.938 kB / 270 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.00325, allocations: 3.938 kB / 270 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.003421, allocations: 15.92 kB / 270 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.003589, allocations: 31.84 kB / 270 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.003694, allocations: 59.77 kB / 270.1 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003797, allocations: 4 kB / 270.1 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.87e-05/0.003885, allocations: 35.91 kB / 270.1 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.91e-05/0.003925, allocations: 15.97 kB / 270.1 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.003949, allocations: 4 kB / 270.1 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.00396, allocations: 11.94 kB / 270.1 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.00398, allocations: 15.92 kB / 270.2 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.004006, allocations: 8 kB / 270.2 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.004107, allocations: 39.83 kB / 270.2 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.004111, allocations: 0 / 270.2 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.004112, allocations: 0 / 270.2 MB, free: 4.055 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.004117, allocations: 0 / 270.2 MB, free: 4.055 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.0005075/0.004625, allocations: 392.6 kB / 270.6 MB, free: 3.637 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.00468, allocations: 16.02 kB / 270.6 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.004735, allocations: 8.891 kB / 270.6 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.004952, allocations: 128.5 kB / 270.7 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.004982, allocations: 384 / 270.7 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.004997, allocations: 12.31 kB / 270.7 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.005357, allocations: 138.2 kB / 270.9 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.005369, allocations: 4.172 kB / 270.9 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.005383, allocations: 384 / 270.9 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.005395, allocations: 3.938 kB / 270.9 MB, free: 3.289 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.005441, allocations: 19.92 kB / 270.9 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.005582, allocations: 116.6 kB / 271 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.005745, allocations: 47.11 kB / 271.1 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.005781, allocations: 31.61 kB / 271.1 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.005802, allocations: 0 / 271.1 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.005832, allocations: 45.39 kB / 271.1 MB, free: 2.973 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.005833, allocations: 0 / 271.1 MB, free: 2.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002051/0.006038, allocations: 69.64 kB / 271.2 MB, free: 2.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.006103, allocations: 55.34 kB / 271.3 MB, free: 2.832 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.006206, allocations: 173.9 kB / 271.4 MB, free: 2.645 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.006218, allocations: 25.7 kB / 271.5 MB, free: 2.613 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.006259, allocations: 130.9 kB / 271.6 MB, free: 2.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.006275, allocations: 7.922 kB / 271.6 MB, free: 2.473 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.006304, allocations: 23.38 kB / 271.6 MB, free: 2.441 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.006428, allocations: 492.1 kB / 272.1 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.006439, allocations: 4 kB / 272.1 MB, free: 1.945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.006447, allocations: 4 kB / 272.1 MB, free: 1.941 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.006474, allocations: 15.94 kB / 272.1 MB, free: 1.922 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.006477, allocations: 0 / 272.1 MB, free: 1.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.357e-05/0.006541, allocations: 41.69 kB / 272.2 MB, free: 1.875 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.006556, allocations: 8 kB / 272.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.006562, allocations: 0 / 272.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.006578, allocations: 0 / 272.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.006625, allocations: 3.938 kB / 272.2 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.006632, allocations: 7.938 kB / 272.2 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.00665, allocations: 4.094 kB / 272.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.006653, allocations: 0 / 272.2 MB, free: 1.852 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.934e-05/0.006732, allocations: 156.6 kB / 272.3 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.006808, allocations: 57.64 kB / 272.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.006841, allocations: 16.42 kB / 272.4 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006843, allocations: 0 / 272.4 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.006848, allocations: 3.938 kB / 272.4 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.006851, allocations: 0 / 272.4 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.586e-05/0.006917, allocations: 116.6 kB / 272.5 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006919, allocations: 0 / 272.5 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.006963, allocations: 15.94 kB / 272.5 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006965, allocations: 0 / 272.5 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.006973, allocations: 0 / 272.5 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.006975, allocations: 3.938 kB / 272.6 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.006977, allocations: 0 / 272.6 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.007077, allocations: 108.3 kB / 272.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.007091, allocations: 7.938 kB / 272.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.007106, allocations: 0 / 272.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.007139, allocations: 11.98 kB / 272.7 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-06/0.007142, allocations: 4 kB / 272.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.007146, allocations: 128 / 272.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.258e-05/0.007189, allocations: 139.1 kB / 272.8 MB, free: 1.145 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007189, allocations: 0 / 272.8 MB, free: 1.145 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001153/0.007304, allocations: 4 kB / 272.8 MB, free: 1.141 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 9.893e-05/0.007403, allocations: 99.25 kB / 272.9 MB, free: 1.035 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.801e-05/0.007501, allocations: 27.62 kB / 272.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007503, allocations: 0 / 272.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.007504, allocations: 0 / 272.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.007764, allocations: 41.97 kB / 273 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.008053, allocations: 136.2 kB / 273.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.286e-05/0.008096, allocations: 63.28 kB / 273.2 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.938e-05/0.008116, allocations: 4 kB / 273.2 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.008149, allocations: 8.5 kB / 273.2 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.00815, allocations: 0 / 273.2 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of Templates: time 0.00261/0.01076, allocations: 0.6802 MB / 273.9 MB, free: 32 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.6788409827277064]