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.001338/0.001338, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001361/0.001361, allocations: 146.9 kB / 23.94 MB, free: 4.156 MB / 14.72 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 1.414/1.414, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.382e-06/1.382e-06, allocations: 0 / 318.9 MB, free: 3.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.514e-05, allocations: 2.281 kB / 318.9 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00293/0.002955, allocations: 1.88 MB / 320.8 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.004638, allocations: 1.024 MB / 321.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.004763, allocations: 7.469 kB / 321.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.005437, allocations: 167.6 kB / 322 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.00577, allocations: 119.5 kB / 322.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.006375, allocations: 208.3 kB / 322.3 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.006626, allocations: 190.4 kB / 322.5 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.006743, allocations: 31.42 kB / 322.5 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.006911, allocations: 109.2 kB / 322.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.007054, allocations: 66.81 kB / 322.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.007085, allocations: 14.41 kB / 322.7 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.007225, allocations: 54.78 kB / 322.8 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.739e-05/0.007302, allocations: 45.77 kB / 322.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.007372, allocations: 38.06 kB / 322.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.007709, allocations: 225 kB / 323.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.007714, allocations: 4 kB / 323.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007715, allocations: 1.594 kB / 323.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.00772, allocations: 0 / 323.1 MB, free: 0.9141 MB / 286.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.0006847/0.008405, allocations: 452.4 kB / 323.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.008442, allocations: 10.69 kB / 323.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.008503, allocations: 25.64 kB / 323.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.00882, allocations: 216.2 kB / 323.8 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.008841, allocations: 8.797 kB / 323.8 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.008858, allocations: 5.719 kB / 323.8 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.009201, allocations: 163.4 kB / 323.9 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.009214, allocations: 15.88 kB / 324 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.009227, allocations: 1.375 kB / 324 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.009233, allocations: 2.031 kB / 324 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.009341, allocations: 38.11 kB / 324 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.009807, allocations: 307.8 kB / 324.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.01009, allocations: 133.1 kB / 324.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.01022, allocations: 62.31 kB / 324.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.01024, allocations: 3.406 kB / 324.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.01042, allocations: 75.64 kB / 324.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 4.379e-06/0.01042, allocations: 3.984 kB / 324.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004241/0.01085, allocations: 163.6 kB / 324.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.01095, allocations: 136.7 kB / 324.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.01126, allocations: 270.2 kB / 325.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.0113, allocations: 32.36 kB / 325.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.0114, allocations: 121.7 kB / 325.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.01143, allocations: 11.42 kB / 325.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.01148, allocations: 33.58 kB / 325.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.01165, allocations: 328.8 kB / 325.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.01171, allocations: 17.77 kB / 325.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.702e-05/0.01181, allocations: 70.41 kB / 325.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.01193, allocations: 58.75 kB / 325.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01193, allocations: 1.125 kB / 325.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001959/0.01213, allocations: 102 kB / 325.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01214, allocations: 7.688 kB / 325.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01215, allocations: 1.031 kB / 325.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01216, allocations: 0.9375 kB / 325.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.01224, allocations: 11.38 kB / 325.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.01225, allocations: 5 kB / 325.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.01231, allocations: 5.031 kB / 325.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.01232, allocations: 6.938 kB / 325.9 MB, free: 14.59 MB / 302.1 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 0.0001418/0.01246, allocations: 147.8 kB / 326.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.01258, allocations: 86.86 kB / 326.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.01284, allocations: 114.7 kB / 326.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01284, allocations: 2.469 kB / 326.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01284, allocations: 2.141 kB / 326.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.01285, allocations: 1.594 kB / 326.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.01304, allocations: 170.4 kB / 326.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01304, allocations: 2.078 kB / 326.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.01308, allocations: 12.12 kB / 326.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01309, allocations: 1.375 kB / 326.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.0131, allocations: 2.219 kB / 326.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.0131, allocations: 7.312 kB / 326.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0131, allocations: 1.375 kB / 326.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.01339, allocations: 176.7 kB / 326.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.01346, allocations: 32.48 kB / 326.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.01349, allocations: 7.547 kB / 326.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.01356, allocations: 8 kB / 326.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.01361, allocations: 10.66 kB / 326.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01362, allocations: 5.25 kB / 326.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.01384, allocations: 198.9 kB / 326.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01384, allocations: 4 kB / 326.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.0141, allocations: 30.45 kB / 326.9 MB, free: 13.89 MB / 302.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.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.001665/0.01577, allocations: 447.1 kB / 327.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.01599, allocations: 65.06 kB / 327.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01599, allocations: 0 / 327.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.34e-05/0.01607, allocations: 30.83 kB / 327.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.01653, allocations: 74.38 kB / 327.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.01715, allocations: 338.5 kB / 327.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.01729, allocations: 126.2 kB / 328 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.804e-05/0.01737, allocations: 31.73 kB / 328 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.01742, allocations: 18.86 kB / 328 MB, free: 13.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01742, allocations: 1.156 kB / 328 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Templates: time 0.007204/0.02463, allocations: 2.789 MB / 330.8 MB, free: 12.65 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.259062595665455]