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.001425/0.001425, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009413/0.0009413, allocations: 146.2 kB / 24.89 MB, free: 8.785 MB / 18.57 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.9133/0.9133, allocations: 173.4 MB / 201.5 MB, free: 8.242 MB / 186.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.553e-06/1.553e-06, allocations: 0 / 268.5 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.135e-05, allocations: 5.266 kB / 268.5 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002474/0.002496, allocations: 1.978 MB / 270.5 MB, free: 7.789 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.003855, allocations: 1.155 MB / 271.6 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.003961, allocations: 7.938 kB / 271.6 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.00423, allocations: 63.61 kB / 271.7 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.004653, allocations: 100.5 kB / 271.8 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.005146, allocations: 255.8 kB / 272.1 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.005348, allocations: 183.5 kB / 272.2 MB, free: 6.031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.877e-05/0.005437, allocations: 34.38 kB / 272.3 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.005554, allocations: 103.7 kB / 272.4 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.005643, allocations: 67.8 kB / 272.4 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.005662, allocations: 8 kB / 272.4 MB, free: 5.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.00581, allocations: 75.88 kB / 272.5 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.005868, allocations: 55.77 kB / 272.6 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.005911, allocations: 43.86 kB / 272.6 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.006125, allocations: 195.2 kB / 272.8 MB, free: 5.457 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006127, allocations: 0 / 272.8 MB, free: 5.457 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006128, allocations: 3.938 kB / 272.8 MB, free: 5.453 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.006132, allocations: 0 / 272.8 MB, free: 5.453 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.0004043/0.006536, allocations: 449 kB / 273.2 MB, free: 4.984 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.006564, allocations: 8.031 kB / 273.3 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.006601, allocations: 20.91 kB / 273.3 MB, free: 4.957 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.006813, allocations: 216.8 kB / 273.5 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.006828, allocations: 8.375 kB / 273.5 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.006839, allocations: 8.375 kB / 273.5 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.007034, allocations: 154.8 kB / 273.7 MB, free: 4.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.007042, allocations: 3.938 kB / 273.7 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.00705, allocations: 4 kB / 273.7 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.007055, allocations: 4 kB / 273.7 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.834e-05/0.007093, allocations: 26.75 kB / 273.7 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.007332, allocations: 216.3 kB / 273.9 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.007454, allocations: 160 kB / 274.1 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.007487, allocations: 39.42 kB / 274.1 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.007505, allocations: 11.88 kB / 274.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.153e-05/0.007596, allocations: 82.12 kB / 274.2 MB, free: 3.898 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.007598, allocations: 0 / 274.2 MB, free: 3.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001528/0.00775, allocations: 93.53 kB / 274.3 MB, free: 3.801 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.007801, allocations: 132.5 kB / 274.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.007969, allocations: 258.7 kB / 274.7 MB, free: 3.371 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.007987, allocations: 29.7 kB / 274.7 MB, free: 3.336 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.008031, allocations: 112.8 kB / 274.8 MB, free: 3.219 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.008049, allocations: 7.906 kB / 274.8 MB, free: 3.211 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.008087, allocations: 38.02 kB / 274.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.008165, allocations: 330.8 kB / 275.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.008184, allocations: 10.81 kB / 275.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.008219, allocations: 56.2 kB / 275.2 MB, free: 2.754 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.835e-05/0.008267, allocations: 39.61 kB / 275.3 MB, free: 2.707 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.008271, allocations: 4 kB / 275.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.909e-05/0.00835, allocations: 76.36 kB / 275.4 MB, free: 2.621 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.008362, allocations: 6.344 kB / 275.4 MB, free: 2.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.008366, allocations: 0 / 275.4 MB, free: 2.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.008377, allocations: 4.062 kB / 275.4 MB, free: 2.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.008439, allocations: 12 kB / 275.4 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.008443, allocations: 3.984 kB / 275.4 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.00848, allocations: 11.94 kB / 275.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.008485, allocations: 0 / 275.4 MB, free: 2.586 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 7.348e-05/0.008558, allocations: 120.6 kB / 275.5 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.008615, allocations: 65.55 kB / 275.6 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.008718, allocations: 87.55 kB / 275.7 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.008721, allocations: 8.094 kB / 275.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.008723, allocations: 0 / 275.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008727, allocations: 0 / 275.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.008828, allocations: 117.8 kB / 275.8 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.00883, allocations: 3.938 kB / 275.8 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.008879, allocations: 23.92 kB / 275.8 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.008882, allocations: 0 / 275.8 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.008891, allocations: 7.938 kB / 275.8 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008893, allocations: 4 kB / 275.8 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008894, allocations: 0 / 275.8 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.049e-05/0.008984, allocations: 117.3 kB / 275.9 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.00903, allocations: 31.84 kB / 276 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.009048, allocations: 3.938 kB / 276 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.009083, allocations: 8 kB / 276 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.009118, allocations: 7.984 kB / 276 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.009134, allocations: 16 kB / 276 MB, free: 1.902 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.602e-05/0.00921, allocations: 93.59 kB / 276.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00921, allocations: 0 / 276.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.009366, allocations: 39.92 kB / 276.1 MB, free: 1.77 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.001196/0.01056, allocations: 0.5187 MB / 276.7 MB, free: 1.48 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.01067, allocations: 48.78 kB / 276.7 MB, free: 1.43 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.01068, allocations: 0 / 276.7 MB, free: 1.43 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.01071, allocations: 24.84 kB / 276.7 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.01094, allocations: 72.38 kB / 276.8 MB, free: 1.332 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.01133, allocations: 348.8 kB / 277.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.045e-05/0.01138, allocations: 95.81 kB / 277.2 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.01143, allocations: 21.62 kB / 277.2 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.01186, allocations: 95.28 kB / 277.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01186, allocations: 0 / 277.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of Templates: time 0.005575/0.01743, allocations: 3.391 MB / 280.7 MB, free: 13.41 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.651809660717845]