Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.00162/0.00162, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001887/0.001887, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.75/1.75, allocations: 230.5 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 43.92 kB / 373.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1502, allocations: 53.32 MB / 426.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004406/0.1546, allocations: 1.942 MB / 428.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.1572, allocations: 1.239 MB / 430 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.1574, allocations: 7.938 kB / 430 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006925/0.158, allocations: 159.5 kB / 430.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.1585, allocations: 163.3 kB / 430.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.1591, allocations: 170.5 kB / 430.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1594, allocations: 199.4 kB / 430.7 MB, free: 432 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1595, allocations: 21.67 kB / 430.7 MB, free: 412 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1596, allocations: 91.5 kB / 430.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1597, allocations: 87.61 kB / 430.8 MB, free: 232 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1598, allocations: 8 kB / 430.9 MB, free: 224 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1599, allocations: 63.91 kB / 430.9 MB, free: 160 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.802e-05/0.16, allocations: 47.83 kB / 431 MB, free: 112 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1601, allocations: 75.48 kB / 431 MB, free: 36 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2827/0.4428, allocations: 219.7 kB / 431.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4428, allocations: 1.594 kB / 431.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4428, allocations: 1.031 kB / 431.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.4428, allocations: 0.8906 kB / 431.3 MB, free: 8.328 MB / 350.1 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.0009019/0.4437, allocations: 0.5267 MB / 431.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4438, allocations: 10.19 kB / 431.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.4438, allocations: 26.77 kB / 431.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.4442, allocations: 287.7 kB / 432.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.4442, allocations: 6.094 kB / 432.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.4443, allocations: 5.469 kB / 432.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.4446, allocations: 173.9 kB / 432.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4446, allocations: 1.469 kB / 432.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.4447, allocations: 3.875 kB / 432.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4447, allocations: 2.062 kB / 432.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.4448, allocations: 37.55 kB / 432.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.4454, allocations: 379 kB / 432.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.4457, allocations: 136.2 kB / 432.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.961e-05/0.4458, allocations: 51.7 kB / 432.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.4458, allocations: 3.5 kB / 432.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.446, allocations: 78.73 kB / 433 MB, free: 7.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.446, allocations: 1.688 kB / 433 MB, free: 7.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004037/0.4464, allocations: 158.1 kB / 433.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.4465, allocations: 162.2 kB / 433.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.4468, allocations: 277.6 kB / 433.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.4468, allocations: 34.38 kB / 433.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.4469, allocations: 121.9 kB / 433.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.4469, allocations: 16.45 kB / 433.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.447, allocations: 34.94 kB / 433.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.447, allocations: 335.5 kB / 434.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.4471, allocations: 23.56 kB / 434.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.757e-05/0.4472, allocations: 84.05 kB / 434.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.4473, allocations: 94.7 kB / 434.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4473, allocations: 2.438 kB / 434.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002051/0.4475, allocations: 139.1 kB / 434.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4475, allocations: 5.375 kB / 434.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4475, allocations: 6.188 kB / 434.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4476, allocations: 2.188 kB / 434.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.884e-05/0.4476, allocations: 10.72 kB / 434.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4476, allocations: 5.422 kB / 434.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.171e-05/0.4477, allocations: 14.19 kB / 434.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.4477, allocations: 4.969 kB / 434.5 MB, free: 6.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000103/0.4478, allocations: 152.3 kB / 434.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-05/0.4479, allocations: 72.41 kB / 434.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.448, allocations: 28.81 kB / 434.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.448, allocations: 2.25 kB / 434.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.448, allocations: 6.438 kB / 434.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.448, allocations: 4.484 kB / 434.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4482, allocations: 236.8 kB / 435 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4482, allocations: 2.969 kB / 435 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.4482, allocations: 9.031 kB / 435 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4482, allocations: 2.688 kB / 435 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4482, allocations: 1.219 kB / 435 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4482, allocations: 2.594 kB / 435 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4482, allocations: 1.094 kB / 435 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.4484, allocations: 181.5 kB / 435.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.4485, allocations: 110.8 kB / 435.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.4485, allocations: 10.64 kB / 435.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.4486, allocations: 4.984 kB / 435.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4487, allocations: 6.031 kB / 435.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.4487, allocations: 13.08 kB / 435.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.4489, allocations: 208.8 kB / 435.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4489, allocations: 0 / 435.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.4491, allocations: 36.03 kB / 435.5 MB, free: 5.43 MB / 350.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001512/0.4506, allocations: 422.4 kB / 435.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.4509, allocations: 84.23 kB / 436 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4509, allocations: 1.156 kB / 436 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.4509, allocations: 22.36 kB / 436 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.4514, allocations: 78.62 kB / 436.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.4519, allocations: 336.3 kB / 436.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.4521, allocations: 0.7411 MB / 437.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.4522, allocations: 23.59 kB / 437.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.4522, allocations: 19.66 kB / 437.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4522, allocations: 1.219 kB / 437.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of Templates: time 0.00803/0.4602, allocations: 2.715 MB / 440 MB, free: 4.145 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.400293167680502]