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.001912/0.001912, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.00211/0.00211, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.586/1.586, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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 1.653e-06/1.653e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.276e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00391/0.003943, allocations: 1.516 MB / 273.8 MB, free: 312 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.005221, allocations: 482.7 kB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.005299, allocations: 0 / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.005332, allocations: 7.938 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.005534, allocations: 19.84 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.005737, allocations: 27.91 kB / 274.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.005871, allocations: 51.84 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.005981, allocations: 8 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.006102, allocations: 39.83 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.006157, allocations: 15.92 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.006181, allocations: 4 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/0.006197, allocations: 4 kB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.006225, allocations: 11.98 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.00627, allocations: 15.92 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.006422, allocations: 47.88 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.006426, allocations: 0 / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006427, allocations: 4 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.006432, allocations: 3.938 kB / 274.6 MB, free: 15.57 MB / 266.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.0007759/0.007208, allocations: 388.2 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.00726, allocations: 8.031 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.007327, allocations: 16.88 kB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.007619, allocations: 144.4 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.007639, allocations: 4.375 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.007659, allocations: 4.375 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.008186, allocations: 149.4 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.008199, allocations: 192 / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.00821, allocations: 4.375 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.008218, allocations: 3.938 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.008371, allocations: 27.98 kB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.008563, allocations: 116.6 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.008861, allocations: 71.05 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.008976, allocations: 31.67 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.009003, allocations: 0 / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.009048, allocations: 41.38 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.009049, allocations: 4 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000388/0.009437, allocations: 89.62 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.009523, allocations: 67.28 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.009715, allocations: 173.9 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.009744, allocations: 25.7 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.00984, allocations: 130.9 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.009855, allocations: 4 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.009908, allocations: 19.38 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003169/0.01023, allocations: 0.4884 MB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.01024, allocations: 4 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.01025, allocations: 0 / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.01029, allocations: 19.75 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01029, allocations: 0 / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000103/0.01039, allocations: 49.59 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.01041, allocations: 11.92 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01041, allocations: 0 / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.01043, allocations: 256 / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.01047, allocations: 4 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.01049, allocations: 7.938 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.01051, allocations: 0 / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.01051, allocations: 0 / 276.6 MB, free: 13.28 MB / 266.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.0001429/0.01066, allocations: 160.6 kB / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.01086, allocations: 73.67 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.01091, allocations: 8.438 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01091, allocations: 0 / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01092, allocations: 3.938 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.01092, allocations: 3.984 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.01107, allocations: 124.6 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01107, allocations: 0 / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.01113, allocations: 7.938 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01113, allocations: 4 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01114, allocations: 7.984 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01115, allocations: 0 / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01115, allocations: 0 / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.0114, allocations: 116.3 kB / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.01142, allocations: 7.953 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.01144, allocations: 0 / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.01153, allocations: 11.98 kB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-06/0.01154, allocations: 0 / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.01155, allocations: 8 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.01165, allocations: 135.1 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01165, allocations: 0 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000269/0.01192, allocations: 4 kB / 277.3 MB, free: 12.54 MB / 266.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.0001657/0.01209, allocations: 107.2 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.01226, allocations: 27.69 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01227, allocations: 0 / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.01227, allocations: 4 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.01278, allocations: 49.91 kB / 277.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.01318, allocations: 144.2 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.12e-05/0.01325, allocations: 75.23 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.184e-05/0.01328, allocations: 4 kB / 277.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.01332, allocations: 8.5 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01332, allocations: 0 / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Templates: time 0.003558/0.01688, allocations: 0.6597 MB / 278.4 MB, free: 11.43 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] 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.37665856606327]