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.0009018/0.0009018, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002262, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008034/0.0008034, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001893, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9925/0.9925, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09719/1.09, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.804e-06/1.804e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.643e-05, allocations: 5.688 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.002682/0.002708, allocations: 1.721 MB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003047/0.003013, allocations: 179.2 kB / 246.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.003086, allocations: 4 kB / 246.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.003127, allocations: 11.86 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.003196, allocations: 7.875 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.003374, allocations: 55.81 kB / 246.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.003484, allocations: 59.86 kB / 246.7 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.003589, allocations: 28.19 kB / 246.8 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.003668, allocations: 39.91 kB / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.00371, allocations: 15.91 kB / 246.8 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.003735, allocations: 8 kB / 246.8 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.003749, allocations: 4 kB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.003801, allocations: 23.92 kB / 246.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.003824, allocations: 15.94 kB / 246.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.003949, allocations: 51.7 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.003958, allocations: 0 / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.00396, allocations: 0 / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.00397, allocations: 4 kB / 246.9 MB, free: 11.98 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.0004294/0.004399, allocations: 300.2 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.004434, allocations: 12.03 kB / 247.2 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.004473, allocations: 8.938 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.004654, allocations: 141.5 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.004674, allocations: 8.375 kB / 247.4 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.004686, allocations: 4.375 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.004912, allocations: 177.2 kB / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004919, allocations: 192 / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.004928, allocations: 4.375 kB / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004933, allocations: 4.375 kB / 247.6 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.855e-05/0.004962, allocations: 23.86 kB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.005192, allocations: 245.3 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.005284, allocations: 91.89 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.00532, allocations: 50.5 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.005341, allocations: 4 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.005362, allocations: 34.56 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.005363, allocations: 0 / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001605/0.005523, allocations: 85.48 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.005578, allocations: 114.8 kB / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.005663, allocations: 139.8 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.005676, allocations: 29.7 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.005715, allocations: 88.41 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.769e-06/0.005725, allocations: 256 / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.005755, allocations: 29.66 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.005832, allocations: 314.8 kB / 248.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.00584, allocations: 7.938 kB / 248.8 MB, free: 9.891 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/0.005854, allocations: 9.719 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.005883, allocations: 25.7 kB / 248.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005885, allocations: 0 / 248.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.691e-05/0.005932, allocations: 41.64 kB / 248.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.005946, allocations: 8.109 kB / 248.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.005951, allocations: 4 kB / 248.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.005962, allocations: 3.938 kB / 248.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.507e-05/0.005977, allocations: 4 kB / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.00598, allocations: 0 / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.006009, allocations: 0 / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.006016, allocations: 0 / 248.9 MB, free: 9.777 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 6.36e-05/0.006079, allocations: 112.7 kB / 249 MB, free: 9.656 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.006144, allocations: 69.59 kB / 249.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.006178, allocations: 12.78 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.006182, allocations: 3.938 kB / 249.1 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.006185, allocations: 8 kB / 249.1 MB, free: 9.559 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.006189, allocations: 3.984 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.006308, allocations: 81.81 kB / 249.2 MB, free: 9.457 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.006311, allocations: 4 kB / 249.2 MB, free: 9.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-06/0.006321, allocations: 3.938 kB / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.00635, allocations: 19.89 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.006354, allocations: 7.984 kB / 249.2 MB, free: 9.422 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.006365, allocations: 7.938 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.006367, allocations: 0 / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.006371, allocations: 7.938 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.568e-05/0.006467, allocations: 215.7 kB / 249.4 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.006478, allocations: 4 kB / 249.5 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.006531, allocations: 0 / 249.5 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.006556, allocations: 15.88 kB / 249.5 MB, free: 9.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.00656, allocations: 0 / 249.5 MB, free: 9.156 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.77e-05/0.006588, allocations: 27.97 kB / 249.5 MB, free: 9.129 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006588, allocations: 0 / 249.5 MB, free: 9.129 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000138/0.006726, allocations: 8 kB / 249.5 MB, free: 9.121 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.485e-05/0.00681, allocations: 100.3 kB / 249.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.638e-05/0.006877, allocations: 24.8 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.00688, allocations: 0 / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.365e-05/0.006894, allocations: 12.84 kB / 249.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.007182, allocations: 105.8 kB / 249.7 MB, free: 8.867 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.007676, allocations: 214.4 kB / 249.9 MB, free: 8.621 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.007727, allocations: 71.25 kB / 250 MB, free: 8.531 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.027e-05/0.007747, allocations: 4.375 kB / 250 MB, free: 8.527 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.007805, allocations: 59.36 kB / 250.1 MB, free: 8.469 MB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.007805, allocations: 0 / 250.1 MB, free: 8.469 MB / 250.7 MB Notification: Performance of Templates: time 0.00237/0.01018, allocations: 0.8015 MB / 250.9 MB, free: 7.684 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.74376855045557]