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.001752/0.001752, allocations: 92.31 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.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.001975/0.001975, allocations: 161.7 kB / 24.27 MB, free: 168 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.487/1.487, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.443e-06/1.443e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.839e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002901/0.002929, allocations: 1.501 MB / 273.8 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.004007, allocations: 462.8 kB / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.004082, allocations: 0 / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.004119, allocations: 7.922 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.00431, allocations: 23.86 kB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.004524, allocations: 35.83 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.004646, allocations: 47.86 kB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.381e-05/0.00473, allocations: 7.984 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.004831, allocations: 35.91 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.004874, allocations: 11.92 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.004897, allocations: 4 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.00491, allocations: 4 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.004934, allocations: 11.98 kB / 274.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.004978, allocations: 19.92 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.005099, allocations: 47.8 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005102, allocations: 4 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005103, allocations: 4 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.005107, allocations: 0 / 274.5 MB, free: 15.62 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.0006179/0.005725, allocations: 298.2 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.005766, allocations: 16.02 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.005821, allocations: 16.88 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.00606, allocations: 129.7 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.006074, allocations: 4.375 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.006088, allocations: 4.375 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.006482, allocations: 139.8 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.006489, allocations: 192 / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.006499, allocations: 8.312 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006505, allocations: 3.938 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.006613, allocations: 27.98 kB / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.006796, allocations: 109.3 kB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.007013, allocations: 46.62 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.007093, allocations: 28.84 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.007121, allocations: 4 kB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.007151, allocations: 34.55 kB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.007152, allocations: 4 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003018/0.007454, allocations: 93.56 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.007519, allocations: 59.34 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.007633, allocations: 109.8 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.007662, allocations: 29.7 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.007823, allocations: 80.14 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.527e-06/0.007833, allocations: 0 / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.007868, allocations: 17.72 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.008041, allocations: 318.8 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.008051, allocations: 0 / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.555e-05/0.008066, allocations: 12 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.008089, allocations: 8.797 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.008091, allocations: 4 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.976e-05/0.00817, allocations: 45.59 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.008183, allocations: 4 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.00819, allocations: 3.984 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.008202, allocations: 0 / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-05/0.008236, allocations: 4.25 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.008242, allocations: 3.938 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.008263, allocations: 4.094 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.008268, allocations: 8 kB / 276.2 MB, free: 13.79 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 9.179e-05/0.00836, allocations: 109.8 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.008516, allocations: 73.61 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.008549, allocations: 12.44 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.008551, allocations: 0 / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.008557, allocations: 3.938 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.008559, allocations: 0 / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.917e-05/0.008658, allocations: 105.2 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008659, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.008708, allocations: 12 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.00871, allocations: 0 / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.008721, allocations: 4 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.008724, allocations: 3.984 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008725, allocations: 0 / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.008923, allocations: 101 kB / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.00894, allocations: 11.94 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.008956, allocations: 0 / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.009069, allocations: 23.98 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-06/0.009074, allocations: 3.984 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.00908, allocations: 0 / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.755e-05/0.009147, allocations: 95.2 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009148, allocations: 0 / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.009333, allocations: 4 kB / 276.7 MB, free: 13.18 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.0001102/0.009443, allocations: 95.25 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.009568, allocations: 31.92 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.00957, allocations: 0 / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.00957, allocations: 4.062 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.009884, allocations: 38.17 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.01023, allocations: 134.6 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.0103, allocations: 71.3 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.428e-05/0.01031, allocations: 0 / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.01035, allocations: 16.48 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01035, allocations: 0 / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Templates: time 0.003232/0.01358, allocations: 0.6646 MB / 277.8 MB, free: 12.09 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=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.221286069019698]