Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001709/0.002853, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002287, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8918/0.8918, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2065/1.098, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.31e-05, allocations: 2.312 kB / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003912/0.003945, allocations: 1.991 MB / 241.7 MB, free: 4.371 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.006045, allocations: 1.084 MB / 242.8 MB, free: 3.281 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.006261, allocations: 7.938 kB / 242.8 MB, free: 3.273 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.007035, allocations: 148.2 kB / 243 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.007423, allocations: 132.5 kB / 243.1 MB, free: 3 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.008109, allocations: 218.2 kB / 243.3 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.008438, allocations: 191.4 kB / 243.5 MB, free: 2.602 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.008573, allocations: 22.39 kB / 243.5 MB, free: 2.578 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.008829, allocations: 132.5 kB / 243.6 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.008982, allocations: 67.8 kB / 243.7 MB, free: 2.383 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.009015, allocations: 8 kB / 243.7 MB, free: 2.375 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.009244, allocations: 67.83 kB / 243.8 MB, free: 2.309 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.00934, allocations: 37.14 kB / 243.8 MB, free: 2.273 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.009405, allocations: 31.88 kB / 243.9 MB, free: 2.242 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.009753, allocations: 155.3 kB / 244 MB, free: 2.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.615e-05/0.00977, allocations: 1.062 kB / 244 MB, free: 2.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.009771, allocations: 0 / 244 MB, free: 2.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.009788, allocations: 0 / 244 MB, free: 2.09 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008086/0.0106, allocations: 467.9 kB / 244.5 MB, free: 1.605 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.01064, allocations: 8.031 kB / 244.5 MB, free: 1.598 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.01071, allocations: 16.92 kB / 244.5 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.01109, allocations: 221.5 kB / 244.7 MB, free: 1.336 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.01112, allocations: 8.375 kB / 244.7 MB, free: 1.328 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.01114, allocations: 13.09 kB / 244.7 MB, free: 1.316 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.01143, allocations: 138.4 kB / 244.9 MB, free: 1.156 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.01145, allocations: 5.719 kB / 244.9 MB, free: 1.152 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.01146, allocations: 11.92 kB / 244.9 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.01147, allocations: 0 / 244.9 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.176e-05/0.01153, allocations: 26.75 kB / 244.9 MB, free: 1.113 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.01193, allocations: 213 kB / 245.1 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.01212, allocations: 143.9 kB / 245.3 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.01218, allocations: 39.42 kB / 245.3 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.0122, allocations: 7.938 kB / 245.3 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.01236, allocations: 67.67 kB / 245.4 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 1.984e-06/0.01236, allocations: 4 kB / 245.4 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002245/0.01258, allocations: 94.14 kB / 245.5 MB, free: 472 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.01266, allocations: 133.1 kB / 245.6 MB, free: 308 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.01287, allocations: 235.2 kB / 245.8 MB, free: 60 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.0129, allocations: 31.39 kB / 245.9 MB, free: 24 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.01299, allocations: 108.8 kB / 246 MB, free: 15.91 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.01302, allocations: 11.91 kB / 246 MB, free: 15.9 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.01307, allocations: 29.69 kB / 246 MB, free: 15.86 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01319, allocations: 330.7 kB / 246.3 MB, free: 15.53 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.01321, allocations: 7.984 kB / 246.3 MB, free: 15.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.01327, allocations: 56.25 kB / 246.4 MB, free: 15.45 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.421e-05/0.01333, allocations: 40.36 kB / 246.4 MB, free: 15.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01333, allocations: 0 / 246.4 MB, free: 15.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001159/0.01345, allocations: 65.44 kB / 246.5 MB, free: 15.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.01347, allocations: 4 kB / 246.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.01347, allocations: 0.5 kB / 246.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.01349, allocations: 4 kB / 246.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.01359, allocations: 13.64 kB / 246.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.01359, allocations: 4.25 kB / 246.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.01365, allocations: 8 kB / 246.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.01366, allocations: 8 kB / 246.5 MB, free: 15.3 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: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001052/0.01377, allocations: 117.4 kB / 246.6 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.369e-05/0.01386, allocations: 66.11 kB / 246.7 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.01402, allocations: 75.42 kB / 246.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.01402, allocations: 4 kB / 246.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01402, allocations: 0 / 246.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.01403, allocations: 0 / 246.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.01418, allocations: 113.7 kB / 246.9 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.01418, allocations: 7.938 kB / 246.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.01423, allocations: 11.92 kB / 246.9 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.0143, allocations: 31.84 kB / 246.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.01431, allocations: 7.984 kB / 247 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.01432, allocations: 0 / 247 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01432, allocations: 4.031 kB / 247 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.01433, allocations: 4 kB / 247 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.01447, allocations: 113.2 kB / 247.1 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.0145, allocations: 0 / 247.1 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.01457, allocations: 11.98 kB / 247.1 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.01461, allocations: 4 kB / 247.1 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.01463, allocations: 7.984 kB / 247.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.01473, allocations: 77.61 kB / 247.2 MB, free: 14.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01473, allocations: 4 kB / 247.2 MB, free: 14.58 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.01497, allocations: 27.94 kB / 247.2 MB, free: 14.55 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001885/0.01686, allocations: 0.5708 MB / 247.8 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.01701, allocations: 56.7 kB / 247.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/0.01703, allocations: 0 / 247.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/0.01709, allocations: 24.84 kB / 247.9 MB, free: 14.17 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.01756, allocations: 425.2 kB / 248.3 MB, free: 13.69 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.01836, allocations: 336.2 kB / 248.6 MB, free: 13.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.425e-05/0.01843, allocations: 79.89 kB / 248.7 MB, free: 13.23 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.0185, allocations: 21.7 kB / 248.7 MB, free: 13.21 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.01862, allocations: 87.34 kB / 248.8 MB, free: 13.12 MB / 250.7 MB Notification: Performance of SimCode: time 1.573e-06/0.01863, allocations: 0 / 248.8 MB, free: 13.12 MB / 250.7 MB Notification: Performance of Templates: time 0.008016/0.02664, allocations: 3.137 MB / 251.9 MB, free: 10.05 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.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.591420765966177]