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.000766/0.000766, allocations: 76.48 kB / 9.933 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001775, 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.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.0006575/0.0006575, allocations: 148.9 kB / 11.25 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009695/0.001627, allocations: 459.6 kB / 11.69 MB, free: 2.477 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.9659/0.9659, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08353/1.049, allocations: 52.5 MB / 238.3 MB, free: 4.43 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 1.412e-06/1.412e-06, allocations: 3.938 kB / 239.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.136e-05, allocations: 2.875 kB / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002063/0.002074, allocations: 1.987 MB / 241.5 MB, free: 1.184 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.00329, allocations: 1.09 MB / 242.6 MB, free: 88 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.003392, allocations: 7.938 kB / 242.6 MB, free: 80 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.0038, allocations: 143.5 kB / 242.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.004013, allocations: 127.4 kB / 242.9 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.004445, allocations: 211.2 kB / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.004648, allocations: 195.3 kB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.071e-05/0.004729, allocations: 22.45 kB / 243.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.004882, allocations: 140.5 kB / 243.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.118e-05/0.004973, allocations: 63.8 kB / 243.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.004992, allocations: 11.94 kB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.005108, allocations: 59.89 kB / 243.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.005158, allocations: 43.8 kB / 243.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.005202, allocations: 27.94 kB / 243.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.005391, allocations: 155.3 kB / 243.8 MB, free: 14.9 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.005404, allocations: 4 kB / 243.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005405, allocations: 0 / 243.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.00542, allocations: 0 / 243.8 MB, free: 14.89 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005294/0.00595, allocations: 460.9 kB / 244.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.005977, allocations: 8.031 kB / 244.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.006018, allocations: 24.91 kB / 244.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.00624, allocations: 217.4 kB / 244.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.006256, allocations: 12.38 kB / 244.5 MB, free: 14.13 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.00627, allocations: 8.125 kB / 244.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.006446, allocations: 137.5 kB / 244.7 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.006454, allocations: 4 kB / 244.7 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.006462, allocations: 7.938 kB / 244.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.006467, allocations: 0 / 244.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.535e-05/0.006502, allocations: 22.8 kB / 244.7 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.006724, allocations: 220.3 kB / 244.9 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.006838, allocations: 149.2 kB / 245.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.006869, allocations: 31.44 kB / 245.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.006887, allocations: 4 kB / 245.1 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.299e-05/0.00698, allocations: 78.12 kB / 245.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.006981, allocations: 0 / 245.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001355/0.007116, allocations: 93.53 kB / 245.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.007172, allocations: 136.5 kB / 245.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.007308, allocations: 226.7 kB / 245.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.007322, allocations: 29.7 kB / 245.6 MB, free: 12.83 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.00736, allocations: 108.8 kB / 245.8 MB, free: 12.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.007379, allocations: 27.81 kB / 245.8 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.007407, allocations: 17.72 kB / 245.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.00749, allocations: 346.6 kB / 246.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.007503, allocations: 7.203 kB / 246.1 MB, free: 12.31 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.007534, allocations: 52.28 kB / 246.2 MB, free: 12.24 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.007571, allocations: 43.59 kB / 246.2 MB, free: 12.19 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.007573, allocations: 0 / 246.2 MB, free: 12.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.244e-05/0.007636, allocations: 64.45 kB / 246.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.007647, allocations: 7.984 kB / 246.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.007651, allocations: 0 / 246.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.00766, allocations: 4 kB / 246.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.007711, allocations: 8 kB / 246.3 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007714, allocations: 0 / 246.3 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.007742, allocations: 8.062 kB / 246.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.007749, allocations: 7.984 kB / 246.3 MB, free: 12.09 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 6.758e-05/0.007817, allocations: 128.5 kB / 246.5 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.00786, allocations: 57.61 kB / 246.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.558e-05/0.007946, allocations: 75.41 kB / 246.6 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007949, allocations: 4 kB / 246.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.00795, allocations: 0 / 246.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.007954, allocations: 4 kB / 246.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.042e-05/0.008044, allocations: 109.8 kB / 246.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.00805, allocations: 7.938 kB / 246.7 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.008072, allocations: 15.94 kB / 246.7 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.008108, allocations: 23.84 kB / 246.8 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008111, allocations: 4 kB / 246.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.008118, allocations: 3.984 kB / 246.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.00812, allocations: 0 / 246.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008121, allocations: 4 kB / 246.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.851e-05/0.008199, allocations: 121.2 kB / 246.9 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.008216, allocations: 4.062 kB / 246.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.195e-05/0.008248, allocations: 12 kB / 246.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.008271, allocations: 7.984 kB / 246.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.00828, allocations: 4 kB / 246.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.008342, allocations: 85.61 kB / 247 MB, free: 11.36 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008342, allocations: 0 / 247 MB, free: 11.36 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001322/0.008474, allocations: 31.92 kB / 247 MB, free: 11.32 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.001129/0.009603, allocations: 0.5583 MB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.487e-05/0.009698, allocations: 44.77 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.009705, allocations: 4 kB / 247.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.009732, allocations: 24.78 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.009933, allocations: 85.97 kB / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.01039, allocations: 324.3 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.01043, allocations: 79.97 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.192e-05/0.01048, allocations: 21.83 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.477e-05/0.01056, allocations: 83.36 kB / 248.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01056, allocations: 0 / 248.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of Templates: time 0.004603/0.01516, allocations: 3.122 MB / 251.4 MB, free: 7.27 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5149217788130045]