Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 208.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 51.92 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2869, allocations: 53.36 MB / 431.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002738/0.2897, allocations: 1.496 MB / 433.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.2906, allocations: 466.8 kB / 433.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.2907, allocations: 7.938 kB / 433.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.2907, allocations: 3.938 kB / 433.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.2909, allocations: 7.938 kB / 433.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.291, allocations: 42.27 kB / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2912, allocations: 43.86 kB / 433.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2913, allocations: 11.98 kB / 433.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.2913, allocations: 23.91 kB / 433.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.839e-05/0.2914, allocations: 23.86 kB / 433.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.2914, allocations: 4 kB / 433.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.2914, allocations: 4 kB / 433.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.2914, allocations: 15.94 kB / 433.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.2915, allocations: 19.92 kB / 433.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2916, allocations: 51.59 kB / 433.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2916, allocations: 0 / 433.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2916, allocations: 0 / 433.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2916, allocations: 0 / 433.8 MB, free: 4.547 MB / 334.1 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.0005876/0.2922, allocations: 300.6 kB / 434.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.2922, allocations: 12.03 kB / 434.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.2923, allocations: 4.891 kB / 434.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.2925, allocations: 134.4 kB / 434.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.2925, allocations: 8.312 kB / 434.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.2925, allocations: 8.375 kB / 434.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.2929, allocations: 147.5 kB / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2929, allocations: 0 / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.2929, allocations: 0 / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2929, allocations: 0 / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.877e-05/0.293, allocations: 27.98 kB / 434.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.2931, allocations: 105.3 kB / 434.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.2933, allocations: 66.53 kB / 434.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.008e-05/0.2934, allocations: 24.86 kB / 434.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.2934, allocations: 7.984 kB / 434.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.2934, allocations: 34.56 kB / 434.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2934, allocations: 0 / 434.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002736/0.2937, allocations: 89.56 kB / 434.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.2938, allocations: 55.41 kB / 434.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2939, allocations: 109.8 kB / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2939, allocations: 29.64 kB / 434.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.294, allocations: 92.08 kB / 435 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.294, allocations: 0 / 435 MB, free: 3.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.294, allocations: 21.7 kB / 435 MB, free: 3.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2942, allocations: 318.8 kB / 435.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.2942, allocations: 8 kB / 435.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.976e-05/0.2942, allocations: 49.14 kB / 435.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.184e-05/0.2943, allocations: 53.09 kB / 435.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2943, allocations: 256 / 435.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000127/0.2944, allocations: 81.52 kB / 435.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2945, allocations: 4 kB / 435.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2945, allocations: 11.92 kB / 435.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2945, allocations: 4 kB / 435.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.2945, allocations: 11.94 kB / 435.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2945, allocations: 0 / 435.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.2946, allocations: 4 kB / 435.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.2946, allocations: 0 / 435.6 MB, free: 2.555 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.593e-05/0.2947, allocations: 122 kB / 435.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.2948, allocations: 81.5 kB / 435.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.2949, allocations: 16.31 kB / 435.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2949, allocations: 0 / 435.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2949, allocations: 0 / 435.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2949, allocations: 0 / 435.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.295, allocations: 105.3 kB / 435.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.295, allocations: 0 / 435.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.295, allocations: 11.98 kB / 435.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.295, allocations: 0 / 435.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.295, allocations: 0 / 435.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.295, allocations: 7.938 kB / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.295, allocations: 0 / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.2952, allocations: 97.06 kB / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.2952, allocations: 3.938 kB / 436 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.2952, allocations: 8 kB / 436 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.2953, allocations: 15.92 kB / 436 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-06/0.2953, allocations: 3.938 kB / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.2953, allocations: 8.125 kB / 436 MB, free: 2.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.2954, allocations: 87.27 kB / 436.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2954, allocations: 0 / 436.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.2956, allocations: 8 kB / 436.1 MB, free: 1.922 MB / 334.1 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.0001151/0.2957, allocations: 103.2 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.2958, allocations: 39.92 kB / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2959, allocations: 0 / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2959, allocations: 384 / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.2962, allocations: 42.06 kB / 436.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.2965, allocations: 133.5 kB / 436.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.2965, allocations: 75.33 kB / 436.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.021e-05/0.2966, allocations: 4 kB / 436.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.2966, allocations: 7.438 kB / 436.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2966, allocations: 0 / 436.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of Templates: time 0.003315/0.2999, allocations: 0.7152 MB / 437.2 MB, free: 0.7695 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.523246772587299]