Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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.001158/0.001158, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001894/0.003051, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001221/0.001221, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002762, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9521/0.9521, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09006/1.042, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.367e-05, allocations: 6.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003249/0.003272, allocations: 1.717 MB / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.003661, allocations: 187.2 kB / 246.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.003736, allocations: 3.938 kB / 246.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.49e-05/0.003781, allocations: 3.938 kB / 246.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.148e-05/0.003862, allocations: 19.86 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.004065, allocations: 43.83 kB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.004183, allocations: 59.84 kB / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.004279, allocations: 28.2 kB / 246.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.004351, allocations: 35.91 kB / 246.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.004397, allocations: 27.89 kB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.004419, allocations: 4 kB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.004432, allocations: 12 kB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.004473, allocations: 11.94 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.004501, allocations: 15.94 kB / 246.7 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.004629, allocations: 55.7 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.004642, allocations: 0 / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004643, allocations: 0 / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.004659, allocations: 0 / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004048/0.005064, allocations: 300.2 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.005095, allocations: 8.031 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.005131, allocations: 16.92 kB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.005306, allocations: 145.5 kB / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.005328, allocations: 8.375 kB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.005338, allocations: 8.312 kB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.005589, allocations: 178.5 kB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.005596, allocations: 192 / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.005603, allocations: 384 / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.005609, allocations: 4.375 kB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.005648, allocations: 27.86 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.005889, allocations: 241.3 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.005998, allocations: 87.64 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/0.006062, allocations: 46.81 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.00609, allocations: 0 / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.006117, allocations: 38.56 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.006118, allocations: 0 / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001538/0.006272, allocations: 93.47 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.006323, allocations: 110.8 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.006397, allocations: 138.6 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.006408, allocations: 29.7 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.006439, allocations: 84.41 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.006448, allocations: 7.984 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.006473, allocations: 17.67 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.006539, allocations: 322.8 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-06/0.006545, allocations: 0 / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.006559, allocations: 17.97 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/0.00658, allocations: 25.72 kB / 248.6 MB, free: 9.953 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006582, allocations: 0 / 248.6 MB, free: 9.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.978e-05/0.006622, allocations: 41.62 kB / 248.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.006634, allocations: 11.12 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.006638, allocations: 0 / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.006647, allocations: 3.938 kB / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-05/0.006659, allocations: 0 / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006661, allocations: 3.938 kB / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.006691, allocations: 8.062 kB / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.006696, allocations: 0 / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 5.166e-05/0.006748, allocations: 120.7 kB / 248.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.006804, allocations: 57.62 kB / 248.9 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.006835, allocations: 16.77 kB / 248.9 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.006841, allocations: 7.938 kB / 248.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.006843, allocations: 0 / 248.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006845, allocations: 0 / 248.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.006974, allocations: 85.81 kB / 249 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006976, allocations: 0 / 249 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.006986, allocations: 4 kB / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.007018, allocations: 31.88 kB / 249 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007019, allocations: 0 / 249 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.007025, allocations: 4 kB / 249 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.007027, allocations: 3.938 kB / 249 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.007029, allocations: 3.938 kB / 249 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.105e-05/0.00711, allocations: 211.7 kB / 249.3 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.007121, allocations: 8 kB / 249.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.007175, allocations: 0 / 249.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.0072, allocations: 7.922 kB / 249.3 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.007205, allocations: 8 kB / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.002e-05/0.007225, allocations: 24.88 kB / 249.3 MB, free: 9.238 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007225, allocations: 0 / 249.3 MB, free: 9.238 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.007362, allocations: 8 kB / 249.3 MB, free: 9.23 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (step.y,hold1.y,sample1.y,hold1.u,sample2.y,integerConstant.y,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.201e-05/0.007444, allocations: 84.36 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.496e-05/0.007508, allocations: 32.77 kB / 249.4 MB, free: 9.105 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.007512, allocations: 4 kB / 249.4 MB, free: 9.102 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.007528, allocations: 9.047 kB / 249.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.007776, allocations: 50.17 kB / 249.5 MB, free: 9.047 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.008183, allocations: 214.5 kB / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.008222, allocations: 67.25 kB / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.78e-05/0.00824, allocations: 4 kB / 249.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.008284, allocations: 59.36 kB / 249.8 MB, free: 8.652 MB / 250.7 MB Notification: Performance of SimCode: time 7.82e-07/0.008285, allocations: 0 / 249.8 MB, free: 8.652 MB / 250.7 MB Notification: Performance of Templates: time 0.002274/0.01056, allocations: 0.8134 MB / 250.6 MB, free: 7.855 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample2/Sample2.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.592774405144155]