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.001007/0.001007, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001014/0.001014, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 18.57 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 0.9778/0.9778, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.673e-06/1.673e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.911e-05, allocations: 6.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004097/0.004126, allocations: 2.022 MB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.006234, allocations: 1.219 MB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.006389, allocations: 7.938 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.007, allocations: 155.4 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.00738, allocations: 155.3 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.007892, allocations: 179.2 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.008183, allocations: 203.4 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.008287, allocations: 18.45 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.008475, allocations: 111.7 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.008601, allocations: 75.8 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.008626, allocations: 8 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.008784, allocations: 67.88 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.008856, allocations: 43.78 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.008915, allocations: 39.86 kB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.009215, allocations: 179.2 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.009219, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00922, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.009225, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.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.0005646/0.009789, allocations: 429.2 kB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.009824, allocations: 12.03 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.009881, allocations: 20.92 kB / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.01019, allocations: 217.6 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.01021, allocations: 8.312 kB / 278.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.01023, allocations: 12.31 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.01046, allocations: 149.6 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01048, allocations: 3.938 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.01049, allocations: 0 / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.01049, allocations: 4 kB / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.01054, allocations: 22.75 kB / 278.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.01088, allocations: 204.5 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.01103, allocations: 157.2 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.01108, allocations: 43.42 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.0111, allocations: 7.938 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.01121, allocations: 74.08 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.01121, allocations: 0 / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001922/0.01141, allocations: 89.59 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.01147, allocations: 136.5 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.01168, allocations: 243 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.01171, allocations: 29.7 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01181, allocations: 100.9 kB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.01184, allocations: 27.81 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.01188, allocations: 21.72 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.01199, allocations: 334.8 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.01201, allocations: 6.828 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.721e-05/0.01206, allocations: 52.27 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.01211, allocations: 39.3 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01211, allocations: 0 / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001088/0.01222, allocations: 76.66 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.01224, allocations: 4 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.01224, allocations: 4.062 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.01226, allocations: 4 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.01232, allocations: 8 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.01233, allocations: 0 / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.01238, allocations: 11.94 kB / 280.4 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.01238, allocations: 0 / 280.4 MB, free: 10 MB / 266.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 9.184e-05/0.01247, allocations: 127.1 kB / 280.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.01255, allocations: 69.58 kB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.01268, allocations: 71.39 kB / 280.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.01269, allocations: 7.984 kB / 280.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.01269, allocations: 0 / 280.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.0127, allocations: 3.984 kB / 280.7 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.01283, allocations: 113.8 kB / 280.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01284, allocations: 0 / 280.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.01287, allocations: 7.984 kB / 280.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01287, allocations: 4 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01288, allocations: 3.938 kB / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01288, allocations: 8.094 kB / 280.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.01289, allocations: 3.938 kB / 280.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.013, allocations: 105.3 kB / 281 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.01306, allocations: 39.77 kB / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.01308, allocations: 7.938 kB / 281 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.01314, allocations: 3.984 kB / 281 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.01317, allocations: 8 kB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.01318, allocations: 7.984 kB / 281 MB, free: 9.352 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.01328, allocations: 81.61 kB / 281.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01328, allocations: 0 / 281.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.01352, allocations: 35.94 kB / 281.1 MB, free: 9.234 MB / 266.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.001344/0.01486, allocations: 0.5234 MB / 281.7 MB, free: 8.941 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.01501, allocations: 40.78 kB / 281.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.01502, allocations: 4 kB / 281.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.01505, allocations: 16.86 kB / 281.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01529, allocations: 84.09 kB / 281.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.0157, allocations: 316.3 kB / 282.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.111e-05/0.01574, allocations: 83.97 kB / 282.2 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.483e-05/0.01578, allocations: 21.62 kB / 282.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.01587, allocations: 79.36 kB / 282.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01587, allocations: 0 / 282.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of Templates: time 0.004326/0.02019, allocations: 3.099 MB / 285.4 MB, free: 5.215 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.8293011779896915]