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.001705/0.001705, allocations: 88.64 kB / 20.96 MB, free: 3.473 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.001501/0.001501, allocations: 149.1 kB / 24.25 MB, free: 184 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.474/1.474, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] 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 2.094e-06/2.094e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.189e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003299/0.003331, allocations: 1.487 MB / 268.8 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009574/0.004289, allocations: 446.6 kB / 269.2 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.004362, allocations: 0 / 269.2 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.004392, allocations: 7.938 kB / 269.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.004563, allocations: 15.84 kB / 269.3 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.004754, allocations: 31.84 kB / 269.3 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.00487, allocations: 51.84 kB / 269.3 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.004957, allocations: 12 kB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.993e-05/0.005057, allocations: 35.89 kB / 269.4 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.005106, allocations: 19.92 kB / 269.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.005126, allocations: 4 kB / 269.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.005141, allocations: 4 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.005163, allocations: 7.984 kB / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.005209, allocations: 19.92 kB / 269.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.005346, allocations: 47.81 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005349, allocations: 0 / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00535, allocations: 3.938 kB / 269.5 MB, free: 4.523 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.005356, allocations: 0 / 269.5 MB, free: 4.523 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.000634/0.00599, allocations: 310.1 kB / 269.8 MB, free: 4.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.006031, allocations: 12.03 kB / 269.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.006096, allocations: 8.891 kB / 269.8 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.006375, allocations: 129.7 kB / 269.9 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.006396, allocations: 8.375 kB / 269.9 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.006408, allocations: 384 / 269.9 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.006823, allocations: 147.7 kB / 270.1 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.006835, allocations: 4.172 kB / 270.1 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.006845, allocations: 384 / 270.1 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.006854, allocations: 3.938 kB / 270.1 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.006971, allocations: 31.98 kB / 270.1 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.00712, allocations: 105.3 kB / 270.2 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.007329, allocations: 54.62 kB / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.007411, allocations: 28.84 kB / 270.3 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.007432, allocations: 0 / 270.3 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.007465, allocations: 34.5 kB / 270.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.007466, allocations: 4 kB / 270.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003063/0.007772, allocations: 85.66 kB / 270.4 MB, free: 3.453 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/0.007951, allocations: 63.3 kB / 270.5 MB, free: 3.379 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.008083, allocations: 113.8 kB / 270.6 MB, free: 3.258 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.008108, allocations: 25.7 kB / 270.6 MB, free: 3.227 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.008178, allocations: 88.14 kB / 270.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.008191, allocations: 0 / 270.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.008232, allocations: 13.72 kB / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.008416, allocations: 318.8 kB / 271 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.008431, allocations: 4 kB / 271.1 MB, free: 2.793 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-06/0.00844, allocations: 3.938 kB / 271.1 MB, free: 2.789 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.131e-05/0.008471, allocations: 16.8 kB / 271.1 MB, free: 2.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.008473, allocations: 4.062 kB / 271.1 MB, free: 2.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.533e-05/0.008548, allocations: 33.7 kB / 271.1 MB, free: 2.727 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.008567, allocations: 8 kB / 271.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.008572, allocations: 0 / 271.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.008587, allocations: 0 / 271.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.892e-05/0.008626, allocations: 7.984 kB / 271.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.008632, allocations: 3.938 kB / 271.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.008654, allocations: 4 kB / 271.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-06/0.008657, allocations: 0 / 271.1 MB, free: 2.703 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 0.0001016/0.008758, allocations: 113.8 kB / 271.2 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.008915, allocations: 73.98 kB / 271.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/0.008955, allocations: 12.42 kB / 271.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008957, allocations: 0 / 271.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.008969, allocations: 11.94 kB / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.008971, allocations: 0 / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.009086, allocations: 105.3 kB / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009087, allocations: 0 / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.009137, allocations: 4 kB / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.009139, allocations: 0 / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.009152, allocations: 4 kB / 271.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.009153, allocations: 4 kB / 271.5 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.009154, allocations: 0 / 271.5 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.009361, allocations: 104.9 kB / 271.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.009379, allocations: 7.938 kB / 271.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.009401, allocations: 7.984 kB / 271.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/0.009494, allocations: 11.98 kB / 271.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.009497, allocations: 0 / 271.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.009506, allocations: 4 kB / 271.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.009576, allocations: 95.2 kB / 271.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009576, allocations: 0 / 271.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.009785, allocations: 8 kB / 271.7 MB, free: 2.078 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.0001358/0.00992, allocations: 99.25 kB / 271.8 MB, free: 1.973 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.01006, allocations: 23.92 kB / 271.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01006, allocations: 7.938 kB / 271.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.01006, allocations: 0 / 271.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.01039, allocations: 38.05 kB / 271.9 MB, free: 1.902 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.01075, allocations: 141.6 kB / 272 MB, free: 1.742 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.146e-05/0.01082, allocations: 63.34 kB / 272.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.818e-05/0.01084, allocations: 4 kB / 272.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.01088, allocations: 8.5 kB / 272.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01088, allocations: 0 / 272.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of Templates: time 0.003437/0.01432, allocations: 0.6779 MB / 272.7 MB, free: 0.9766 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1421900489367545]