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.001419/0.001419, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001648/0.001648, allocations: 165 kB / 24.56 MB, free: 8 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.041/1.041, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.463e-06/1.463e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.522e-05, allocations: 6.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002288/0.002314, allocations: 1.537 MB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007337/0.003047, allocations: 490.6 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.003106, allocations: 0 / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.003136, allocations: 3.938 kB / 275 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.00328, allocations: 15.92 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.003433, allocations: 35.78 kB / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.547e-05/0.003528, allocations: 55.83 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.003606, allocations: 4 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.003689, allocations: 35.91 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.003727, allocations: 19.91 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.00375, allocations: 8 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.00376, allocations: 4 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.003783, allocations: 11.98 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.003812, allocations: 11.94 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.003913, allocations: 35.89 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003915, allocations: 0 / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003916, allocations: 0 / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.00392, allocations: 0 / 275.2 MB, free: 15.26 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.0004455/0.004366, allocations: 404.4 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.004401, allocations: 8.031 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.004446, allocations: 16.88 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.004607, allocations: 128.5 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.004628, allocations: 384 / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.004641, allocations: 8.375 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.00491, allocations: 138.2 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004917, allocations: 192 / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.004927, allocations: 384 / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.004935, allocations: 3.938 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.144e-05/0.004976, allocations: 19.92 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.005086, allocations: 116.6 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.005209, allocations: 47.11 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.005246, allocations: 23.69 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.005262, allocations: 3.984 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.005284, allocations: 45.39 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.005285, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001669/0.005452, allocations: 73.77 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.005494, allocations: 55.34 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.005579, allocations: 165.9 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.005591, allocations: 29.7 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.005631, allocations: 130.9 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.005641, allocations: 0 / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.005678, allocations: 27.36 kB / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.005793, allocations: 492.1 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.005806, allocations: 8.062 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-06/0.005812, allocations: 4 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.005837, allocations: 19.62 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005839, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.699e-05/0.005896, allocations: 41.64 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.005908, allocations: 4 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.005912, allocations: 4 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.005924, allocations: 3.938 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.099e-05/0.005955, allocations: 0 / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.005962, allocations: 7.938 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.005981, allocations: 4.094 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-06/0.005984, allocations: 0 / 277.2 MB, free: 13.05 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 7e-05/0.006054, allocations: 156.6 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.006126, allocations: 57.62 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.006158, allocations: 16.42 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.00616, allocations: 0 / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.006165, allocations: 3.938 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006168, allocations: 0 / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.639e-05/0.006234, allocations: 124.5 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006236, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.00628, allocations: 12 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.006282, allocations: 0 / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.00629, allocations: 0 / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006291, allocations: 0 / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.006292, allocations: 0 / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.006401, allocations: 112.3 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.006412, allocations: 3.953 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.006429, allocations: 4.125 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.006475, allocations: 15.98 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-06/0.006478, allocations: 4 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.006482, allocations: 0 / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.867e-05/0.006531, allocations: 139.1 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006531, allocations: 0 / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.006709, allocations: 7.984 kB / 277.9 MB, free: 12.33 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 8.228e-05/0.006791, allocations: 95.25 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.762e-05/0.006879, allocations: 23.69 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00688, allocations: 0 / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.006881, allocations: 0 / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.00713, allocations: 37.98 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.00736, allocations: 136.2 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.0074, allocations: 62.58 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.455e-05/0.007414, allocations: 4 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.007441, allocations: 12.44 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007442, allocations: 0 / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of Templates: time 0.002545/0.009987, allocations: 0.6831 MB / 278.9 MB, free: 11.23 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7273072907701135]