Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001025/0.001025, allocations: 72.5 kB / 9.929 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.002577, allocations: 453.6 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.0009409/0.0009409, allocations: 148.9 kB / 11.25 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002311, allocations: 455.6 kB / 11.69 MB, free: 2.48 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.9185/0.9185, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08612/1.005, allocations: 52.49 MB / 238.3 MB, free: 4.445 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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.73e-05, allocations: 10.39 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002434/0.002461, allocations: 1.972 MB / 241.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.003818, allocations: 1.168 MB / 242.7 MB, free: 32 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.003915, allocations: 3.938 kB / 242.7 MB, free: 28 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.004128, allocations: 67.61 kB / 242.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.004293, allocations: 99.47 kB / 242.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.004739, allocations: 262.9 kB / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.004929, allocations: 183.5 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.00502, allocations: 18.45 kB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.005168, allocations: 147.5 kB / 243.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.005268, allocations: 71.78 kB / 243.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.005287, allocations: 8 kB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.005422, allocations: 67.94 kB / 243.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.005478, allocations: 43.86 kB / 243.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.005518, allocations: 35.81 kB / 243.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.005721, allocations: 175.3 kB / 243.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.005736, allocations: 4 kB / 243.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005737, allocations: 0 / 243.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.005752, allocations: 0 / 243.8 MB, free: 14.86 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.0005151/0.006267, allocations: 484.7 kB / 244.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.006295, allocations: 16.03 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.006332, allocations: 24.91 kB / 244.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.006532, allocations: 212.7 kB / 244.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.006549, allocations: 8.359 kB / 244.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.006561, allocations: 12.31 kB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.006755, allocations: 166.8 kB / 244.7 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.006764, allocations: 7.922 kB / 244.8 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.006771, allocations: 0 / 244.8 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.006776, allocations: 0 / 244.8 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.2e-05/0.006818, allocations: 26.75 kB / 244.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.007058, allocations: 224.3 kB / 245 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.007178, allocations: 152 kB / 245.2 MB, free: 13.41 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.007208, allocations: 39.42 kB / 245.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.007229, allocations: 11.94 kB / 245.2 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.876e-05/0.007318, allocations: 66.14 kB / 245.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.021e-06/0.007319, allocations: 0 / 245.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001371/0.007456, allocations: 97.53 kB / 245.4 MB, free: 13.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.007506, allocations: 136.9 kB / 245.5 MB, free: 13 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.007659, allocations: 266.6 kB / 245.8 MB, free: 12.72 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.007674, allocations: 25.7 kB / 245.8 MB, free: 12.69 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.007714, allocations: 108.8 kB / 245.9 MB, free: 12.58 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.007733, allocations: 19.89 kB / 245.9 MB, free: 12.56 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.007763, allocations: 25.7 kB / 245.9 MB, free: 12.53 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.007838, allocations: 334.8 kB / 246.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.007855, allocations: 10.83 kB / 246.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.007885, allocations: 48.28 kB / 246.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.382e-05/0.007929, allocations: 55.52 kB / 246.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00793, allocations: 4.031 kB / 246.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.326e-05/0.007994, allocations: 72.38 kB / 246.4 MB, free: 11.97 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.008004, allocations: 8 kB / 246.5 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.008008, allocations: 0 / 246.5 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.008015, allocations: 0 / 246.5 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.008076, allocations: 19.92 kB / 246.5 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-06/0.008078, allocations: 0 / 246.5 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.008109, allocations: 4 kB / 246.5 MB, free: 11.94 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.008114, allocations: 0 / 246.5 MB, free: 11.94 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,table.y) * 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.689e-05/0.008181, allocations: 128.6 kB / 246.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.008226, allocations: 61.55 kB / 246.7 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.948e-05/0.008315, allocations: 83.38 kB / 246.7 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.008318, allocations: 4 kB / 246.7 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.00832, allocations: 0 / 246.7 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.008324, allocations: 0 / 246.7 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.365e-05/0.008417, allocations: 117.8 kB / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008419, allocations: 0 / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.008463, allocations: 19.98 kB / 246.9 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.008504, allocations: 39.88 kB / 246.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008506, allocations: 0 / 246.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.008512, allocations: 4 kB / 246.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.008514, allocations: 3.938 kB / 246.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.008518, allocations: 7.984 kB / 246.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.664e-05/0.008594, allocations: 105.3 kB / 247 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.008615, allocations: 16 kB / 247.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.963e-05/0.008645, allocations: 3.984 kB / 247.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.008674, allocations: 11.98 kB / 247.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.008684, allocations: 4 kB / 247.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.577e-05/0.00876, allocations: 109.6 kB / 247.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00876, allocations: 0 / 247.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001387/0.008899, allocations: 31.94 kB / 247.2 MB, free: 11.13 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,table.y,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.001152/0.01005, allocations: 0.5671 MB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.01016, allocations: 48.7 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.01016, allocations: 4 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.0102, allocations: 28.91 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.01041, allocations: 85.75 kB / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.0109, allocations: 344.5 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.01095, allocations: 83.97 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.499e-05/0.01099, allocations: 21.75 kB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.01108, allocations: 91.34 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01108, allocations: 0 / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of Templates: time 0.004802/0.01589, allocations: 3.487 MB / 252 MB, free: 6.66 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.518185079097748]