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.001072/0.001072, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002609, 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.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.001174/0.001174, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002642, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08465/1.117, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.803e-06/1.803e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.696e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004373/0.0044, allocations: 2.014 MB / 246.5 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.00662, allocations: 1.23 MB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.006776, allocations: 7.938 kB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.007312, allocations: 151.4 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.007617, allocations: 167.2 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.008038, allocations: 178 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.008298, allocations: 203.4 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.008412, allocations: 18.41 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.008609, allocations: 163.5 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.008726, allocations: 63.8 kB / 248.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.008748, allocations: 12 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.008888, allocations: 55.91 kB / 248.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.008948, allocations: 43.8 kB / 248.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.008992, allocations: 31.88 kB / 248.8 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.009227, allocations: 155.4 kB / 249 MB, free: 9.824 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.036e-05/0.009248, allocations: 0 / 249 MB, free: 9.824 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.00925, allocations: 8 kB / 249 MB, free: 9.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.009268, allocations: 0 / 249 MB, free: 9.816 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.0005787/0.009847, allocations: 472.8 kB / 249.5 MB, free: 9.324 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.009879, allocations: 8.031 kB / 249.5 MB, free: 9.316 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.00992, allocations: 16.92 kB / 249.5 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.01016, allocations: 217.6 kB / 249.7 MB, free: 9.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.01018, allocations: 8.312 kB / 249.7 MB, free: 9.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.0102, allocations: 12.38 kB / 249.7 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.01041, allocations: 138.1 kB / 249.9 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.01042, allocations: 3.938 kB / 249.9 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.01043, allocations: 4 kB / 249.9 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.01044, allocations: 0 / 249.9 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.036e-05/0.01048, allocations: 22.75 kB / 249.9 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.01075, allocations: 216.3 kB / 250.1 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.01088, allocations: 153.2 kB / 250.2 MB, free: 8.426 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.01092, allocations: 39.42 kB / 250.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.01094, allocations: 3.938 kB / 250.3 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.01106, allocations: 82.12 kB / 250.4 MB, free: 8.277 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.01106, allocations: 0 / 250.4 MB, free: 8.277 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001758/0.01123, allocations: 97.84 kB / 250.5 MB, free: 8.176 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.0113, allocations: 140.5 kB / 250.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.01145, allocations: 234.7 kB / 250.8 MB, free: 7.762 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.01146, allocations: 29.7 kB / 250.9 MB, free: 7.727 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.01151, allocations: 108.8 kB / 251 MB, free: 7.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.01153, allocations: 23.88 kB / 251 MB, free: 7.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.01156, allocations: 25.7 kB / 251 MB, free: 7.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.01165, allocations: 330.8 kB / 251.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.01166, allocations: 6.828 kB / 251.3 MB, free: 7.219 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.0117, allocations: 56.25 kB / 251.4 MB, free: 7.148 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.01174, allocations: 43.38 kB / 251.4 MB, free: 7.098 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01174, allocations: 0 / 251.4 MB, free: 7.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.707e-05/0.01181, allocations: 72.38 kB / 251.5 MB, free: 7.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01182, allocations: 10.97 kB / 251.5 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.01182, allocations: 0 / 251.5 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-06/0.01183, allocations: 0 / 251.5 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.0119, allocations: 12 kB / 251.5 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.0119, allocations: 0 / 251.5 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.01193, allocations: 15.88 kB / 251.5 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.01194, allocations: 4.031 kB / 251.5 MB, free: 6.98 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.896e-05/0.01201, allocations: 119.9 kB / 251.7 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.01206, allocations: 65.55 kB / 251.7 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.01216, allocations: 75.39 kB / 251.8 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01217, allocations: 4 kB / 251.8 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01217, allocations: 3.984 kB / 251.8 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01217, allocations: 320 / 251.8 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.01228, allocations: 105.8 kB / 251.9 MB, free: 6.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.01228, allocations: 8 kB / 251.9 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.01231, allocations: 12.08 kB / 251.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.01235, allocations: 31.73 kB / 252 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01236, allocations: 4 kB / 252 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.01237, allocations: 7.984 kB / 252 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01237, allocations: 3.938 kB / 252 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01237, allocations: 4 kB / 252 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.073e-05/0.01245, allocations: 105.3 kB / 252.1 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.01247, allocations: 11.94 kB / 252.1 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.01251, allocations: 3.984 kB / 252.1 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.01254, allocations: 7.938 kB / 252.1 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.01255, allocations: 15.98 kB / 252.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.274e-05/0.01262, allocations: 81.61 kB / 252.2 MB, free: 6.254 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01262, allocations: 0 / 252.2 MB, free: 6.254 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.01277, allocations: 28 kB / 252.2 MB, free: 6.227 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.001245/0.01402, allocations: 0.5585 MB / 252.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.01413, allocations: 40.78 kB / 252.8 MB, free: 5.895 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.01414, allocations: 8.062 kB / 252.8 MB, free: 5.887 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.081e-05/0.01417, allocations: 24.83 kB / 252.9 MB, free: 5.859 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.0144, allocations: 81.98 kB / 252.9 MB, free: 5.781 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.01496, allocations: 323.9 kB / 253.3 MB, free: 5.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.015, allocations: 83.97 kB / 253.3 MB, free: 5.328 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.711e-05/0.01505, allocations: 25.89 kB / 253.4 MB, free: 5.301 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.01514, allocations: 79.36 kB / 253.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01514, allocations: 0 / 253.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of Templates: time 0.004677/0.01982, allocations: 3.165 MB / 256.6 MB, free: 2.117 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] 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","",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.641762601211667]