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.001032/0.001032, allocations: 82.28 kB / 22.21 MB, free: 2.293 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: 145.2 kB / 25.59 MB, free: 8.918 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.9317/0.9317, allocations: 173.4 MB / 202.2 MB, free: 8.277 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.653e-06/1.653e-06, allocations: 0 / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.261e-05, allocations: 5.266 kB / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00216/0.002183, allocations: 1.517 MB / 270.7 MB, free: 8.277 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006251/0.002808, allocations: 445.2 kB / 271.2 MB, free: 7.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.002878, allocations: 0 / 271.2 MB, free: 7.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.002906, allocations: 3.938 kB / 271.2 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.003056, allocations: 19.84 kB / 271.2 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.003216, allocations: 36.75 kB / 271.2 MB, free: 7.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003319, allocations: 51.78 kB / 271.3 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.003409, allocations: 8.531 kB / 271.3 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.003491, allocations: 33.86 kB / 271.3 MB, free: 7.691 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.645e-05/0.003528, allocations: 19.92 kB / 271.3 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.003548, allocations: 4 kB / 271.3 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.003558, allocations: 4 kB / 271.3 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.003582, allocations: 11.92 kB / 271.3 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.003604, allocations: 12 kB / 271.4 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.003699, allocations: 37.11 kB / 271.4 MB, free: 7.605 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.0037, allocations: 0 / 271.4 MB, free: 7.605 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.003702, allocations: 0 / 271.4 MB, free: 7.605 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.003706, allocations: 0.5 kB / 271.4 MB, free: 7.605 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.0004005/0.004106, allocations: 399.1 kB / 271.8 MB, free: 7.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.004144, allocations: 11.97 kB / 271.8 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.00418, allocations: 12.88 kB / 271.8 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.004334, allocations: 130.3 kB / 271.9 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.004353, allocations: 4.375 kB / 271.9 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.004361, allocations: 384 / 271.9 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.004578, allocations: 135.7 kB / 272.1 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.004588, allocations: 192 / 272.1 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.004595, allocations: 0.875 kB / 272.1 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.004603, allocations: 3.938 kB / 272.1 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.004633, allocations: 19.92 kB / 272.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.004738, allocations: 105.2 kB / 272.2 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.004861, allocations: 47.09 kB / 272.2 MB, free: 6.645 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.004888, allocations: 19.69 kB / 272.3 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.004905, allocations: 0 / 272.3 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.00493, allocations: 37.39 kB / 272.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.004931, allocations: 0 / 272.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001647/0.005096, allocations: 65.61 kB / 272.4 MB, free: 6.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.00516, allocations: 63.36 kB / 272.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.005245, allocations: 173.8 kB / 272.6 MB, free: 6.242 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005255, allocations: 25.7 kB / 272.6 MB, free: 6.211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.005296, allocations: 134.8 kB / 272.7 MB, free: 6.074 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.005309, allocations: 0 / 272.7 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.005334, allocations: 23.36 kB / 272.8 MB, free: 6.043 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.005461, allocations: 0.4884 MB / 273.3 MB, free: 5.543 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.005468, allocations: 0 / 273.3 MB, free: 5.543 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/0.005474, allocations: 0 / 273.3 MB, free: 5.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.005499, allocations: 11.69 kB / 273.3 MB, free: 5.527 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0055, allocations: 3.938 kB / 273.3 MB, free: 5.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.709e-05/0.005557, allocations: 37.77 kB / 273.3 MB, free: 5.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.005571, allocations: 7.984 kB / 273.3 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.005577, allocations: 4 kB / 273.3 MB, free: 5.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005588, allocations: 0 / 273.3 MB, free: 5.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.139e-05/0.005619, allocations: 4 kB / 273.3 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.005621, allocations: 0 / 273.3 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.005639, allocations: 7.938 kB / 273.3 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-06/0.005641, allocations: 0 / 273.3 MB, free: 5.457 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.367e-05/0.005715, allocations: 152.6 kB / 273.5 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.005782, allocations: 65.92 kB / 273.5 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.005814, allocations: 12.44 kB / 273.6 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.005817, allocations: 3.984 kB / 273.6 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.00582, allocations: 0 / 273.6 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.005826, allocations: 7.938 kB / 273.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.281e-05/0.005899, allocations: 105.2 kB / 273.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005901, allocations: 0 / 273.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.005941, allocations: 7.984 kB / 273.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005943, allocations: 0 / 273.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.005948, allocations: 0 / 273.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.005951, allocations: 4 kB / 273.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005952, allocations: 4 kB / 273.7 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.781e-05/0.006, allocations: 72.28 kB / 273.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.006011, allocations: 3.938 kB / 273.8 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.006027, allocations: 4 kB / 273.8 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.006065, allocations: 15.98 kB / 273.8 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-06/0.00607, allocations: 0 / 273.8 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.006073, allocations: 3.938 kB / 273.8 MB, free: 4.934 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.37e-05/0.006117, allocations: 127.2 kB / 273.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006117, allocations: 0 / 273.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001161/0.006233, allocations: 12 kB / 273.9 MB, free: 4.797 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.191e-05/0.006325, allocations: 99.25 kB / 274 MB, free: 4.691 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.994e-05/0.006415, allocations: 23.67 kB / 274 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006416, allocations: 0 / 274 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.006417, allocations: 0 / 274 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.006644, allocations: 33.86 kB / 274.1 MB, free: 4.629 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.007116, allocations: 132.2 kB / 274.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.79e-05/0.007144, allocations: 63.41 kB / 274.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.599e-05/0.00716, allocations: 3.906 kB / 274.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.007209, allocations: 78.19 kB / 274.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.00721, allocations: 0 / 274.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of Templates: time 0.0021/0.00931, allocations: 0.7252 MB / 275.1 MB, free: 3.605 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.5421509058214724]