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.001039/0.001039, 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.0009888/0.0009888, allocations: 139.9 kB / 24.89 MB, free: 9.207 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.9334/0.9334, allocations: 173.4 MB / 201.5 MB, free: 9.211 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.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.263e-06/1.263e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.329e-05, allocations: 6.312 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002473/0.002486, allocations: 1.995 MB / 270.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003892, allocations: 1.075 MB / 271.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.003997, allocations: 11.88 kB / 271.6 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.004491, allocations: 163.4 kB / 271.8 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.004678, allocations: 123.4 kB / 271.9 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.004986, allocations: 195.3 kB / 272.1 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.005176, allocations: 199.3 kB / 272.3 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.132e-05/0.005267, allocations: 34.38 kB / 272.3 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.005383, allocations: 103.7 kB / 272.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.005488, allocations: 67.8 kB / 272.5 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.005509, allocations: 8 kB / 272.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.005627, allocations: 59.89 kB / 272.5 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.005684, allocations: 47.84 kB / 272.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.005727, allocations: 35.84 kB / 272.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.005937, allocations: 167.3 kB / 272.8 MB, free: 1.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.005938, allocations: 4 kB / 272.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.005939, allocations: 0 / 272.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.005942, allocations: 0 / 272.8 MB, free: 1.875 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.0003909/0.006333, allocations: 425.3 kB / 273.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.006362, allocations: 12.03 kB / 273.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.006395, allocations: 12.92 kB / 273.2 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.006611, allocations: 225.5 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.006623, allocations: 4.375 kB / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.006635, allocations: 12.31 kB / 273.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.006809, allocations: 142.1 kB / 273.6 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.006817, allocations: 3.938 kB / 273.6 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.006824, allocations: 0 / 273.6 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.006828, allocations: 4 kB / 273.6 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.006862, allocations: 22.75 kB / 273.6 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.007094, allocations: 212.3 kB / 273.8 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.007207, allocations: 149.2 kB / 274 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.007241, allocations: 43.42 kB / 274 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.007256, allocations: 7.938 kB / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.196e-05/0.007338, allocations: 70.14 kB / 274.1 MB, free: 392 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.007339, allocations: 0 / 274.1 MB, free: 392 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001447/0.007484, allocations: 93.53 kB / 274.2 MB, free: 292 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.007533, allocations: 132.9 kB / 274.3 MB, free: 128 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.007683, allocations: 234.7 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.007697, allocations: 29.7 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.007738, allocations: 108.8 kB / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.007756, allocations: 11.91 kB / 274.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.007788, allocations: 29.69 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.007869, allocations: 330.8 kB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.007883, allocations: 10.81 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.007916, allocations: 56.2 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.007954, allocations: 39.61 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007956, allocations: 0 / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.681e-05/0.008022, allocations: 76.41 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.008034, allocations: 4 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.008037, allocations: 0 / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.008048, allocations: 0 / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.008099, allocations: 15.98 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.008102, allocations: 0 / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.008132, allocations: 11.89 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.008138, allocations: 4 kB / 275.3 MB, free: 15.11 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 6.344e-05/0.008201, allocations: 120.6 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.008249, allocations: 65.59 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.833e-05/0.008337, allocations: 79.42 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.00834, allocations: 7.922 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.008343, allocations: 4 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.008348, allocations: 0 / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.325e-05/0.008441, allocations: 101.8 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.008443, allocations: 3.984 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.008465, allocations: 11.94 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.008467, allocations: 0 / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.008475, allocations: 12.03 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008477, allocations: 0 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008477, allocations: 0 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.948e-05/0.008557, allocations: 117.5 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.008596, allocations: 27.86 kB / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.008616, allocations: 11.92 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.008648, allocations: 8.062 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.008678, allocations: 7.984 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.008689, allocations: 4 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.259e-05/0.008751, allocations: 85.55 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008751, allocations: 4 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.008891, allocations: 27.94 kB / 275.9 MB, free: 14.34 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.0009885/0.00988, allocations: 0.5175 MB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.132e-05/0.009961, allocations: 36.78 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.009964, allocations: 8 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.009995, allocations: 24.83 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.01019, allocations: 76.72 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.01052, allocations: 312.3 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.91e-05/0.01056, allocations: 87.91 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.909e-05/0.0106, allocations: 17.62 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.01068, allocations: 79.36 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01068, allocations: 0 / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of Templates: time 0.004288/0.01497, allocations: 3.056 MB / 280.1 MB, free: 10.37 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] 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","",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.56685263896361]