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.001754/0.001754, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002135/0.002135, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001539/0.001539, allocations: 43.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2544, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00274/0.2571, allocations: 1.504 MB / 433.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.2579, allocations: 458.8 kB / 434.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.258, allocations: 4 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.258, allocations: 3.938 kB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.2582, allocations: 19.91 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.2583, allocations: 27.92 kB / 434.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.2584, allocations: 63.77 kB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2586, allocations: 11.8 kB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.2586, allocations: 23.86 kB / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.2587, allocations: 19.92 kB / 434.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2587, allocations: 4 kB / 434.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.2587, allocations: 8 kB / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.2587, allocations: 11.97 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.2588, allocations: 15.88 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2589, allocations: 43.88 kB / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2589, allocations: 0 / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2589, allocations: 4 kB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2589, allocations: 0 / 434.5 MB, free: 4.484 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.0005745/0.2595, allocations: 305 kB / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2595, allocations: 8.031 kB / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.2595, allocations: 8.891 kB / 434.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.2598, allocations: 130.4 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2598, allocations: 8.312 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.2598, allocations: 4.375 kB / 435 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.2602, allocations: 143.5 kB / 435.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2602, allocations: 8 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2602, allocations: 4 kB / 435.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2602, allocations: 0 / 435.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.2603, allocations: 31.95 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.2604, allocations: 105.3 kB / 435.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.2606, allocations: 58.56 kB / 435.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.2607, allocations: 28.84 kB / 435.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2607, allocations: 0 / 435.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.2607, allocations: 30.56 kB / 435.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.2607, allocations: 4 kB / 435.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002798/0.261, allocations: 93.56 kB / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.2611, allocations: 55.34 kB / 435.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.2611, allocations: 113.8 kB / 435.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.2612, allocations: 25.7 kB / 435.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.2612, allocations: 88.12 kB / 435.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.2612, allocations: 4 kB / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.2613, allocations: 17.72 kB / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2614, allocations: 318.8 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.2614, allocations: 4 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.151e-05/0.2615, allocations: 53.16 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.569e-05/0.2615, allocations: 57.33 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2615, allocations: 0 / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001129/0.2616, allocations: 81.61 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2617, allocations: 8 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2617, allocations: 7.875 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2617, allocations: 0 / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.2617, allocations: 8 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.2617, allocations: 4 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.074e-05/0.2618, allocations: 0 / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2618, allocations: 7.984 kB / 436.3 MB, free: 2.492 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 8.411e-05/0.2618, allocations: 121.7 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.262, allocations: 77.67 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.262, allocations: 12.31 kB / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.262, allocations: 0 / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.262, allocations: 3.984 kB / 436.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.262, allocations: 4 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.006e-05/0.2621, allocations: 105.3 kB / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2621, allocations: 3.938 kB / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.2622, allocations: 4 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2622, allocations: 0 / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2622, allocations: 4 kB / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2622, allocations: 3.938 kB / 436.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2622, allocations: 4 kB / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.2624, allocations: 97 kB / 436.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.2624, allocations: 8 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.2624, allocations: 0 / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.2625, allocations: 24.03 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-06/0.2625, allocations: 0 / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2625, allocations: 4 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.29e-05/0.2626, allocations: 87.75 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2626, allocations: 4 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.2628, allocations: 8 kB / 436.9 MB, free: 1.859 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 9.662e-05/0.2629, allocations: 103.2 kB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.263, allocations: 35.92 kB / 437 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.263, allocations: 0 / 437 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.756e-06/0.263, allocations: 4 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.2633, allocations: 36.56 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.2636, allocations: 141.6 kB / 437.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.745e-05/0.2636, allocations: 67.34 kB / 437.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.733e-05/0.2637, allocations: 0 / 437.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.2637, allocations: 15.42 kB / 437.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2637, allocations: 0 / 437.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of Templates: time 0.003017/0.2667, allocations: 0.745 MB / 438 MB, free: 0.6797 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/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.396102461003466]