Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002026/0.002026, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002419/0.002419, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.696/1.696, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 68.06 kB / 373.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1722, allocations: 53.32 MB / 427.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004797/0.177, allocations: 1.941 MB / 429.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.18, allocations: 1.25 MB / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.1802, allocations: 3.938 kB / 430.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009495/0.1812, allocations: 147.5 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005733/0.1818, allocations: 159.4 kB / 430.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000819/0.1826, allocations: 178.2 kB / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.183, allocations: 195.5 kB / 431 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1832, allocations: 21.67 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1833, allocations: 87.56 kB / 431.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.1835, allocations: 87.61 kB / 431.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.1835, allocations: 8 kB / 431.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.1837, allocations: 59.91 kB / 431.3 MB, free: 448 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.778e-05/0.1838, allocations: 47.83 kB / 431.3 MB, free: 400 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1839, allocations: 79.48 kB / 431.4 MB, free: 320 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.1843, allocations: 230.9 kB / 431.6 MB, free: 88 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1843, allocations: 3.938 kB / 431.6 MB, free: 84 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1843, allocations: 0 / 431.6 MB, free: 84 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1844, allocations: 0 / 431.6 MB, free: 84 kB / 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.3209/0.5052, allocations: 0.5199 MB / 432.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5053, allocations: 9.406 kB / 432.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.259e-05/0.5054, allocations: 22.89 kB / 432.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.5058, allocations: 281.5 kB / 432.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.5058, allocations: 5.062 kB / 432.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.5058, allocations: 9.719 kB / 432.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.5063, allocations: 167.3 kB / 432.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5063, allocations: 3.578 kB / 432.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.5063, allocations: 10.06 kB / 432.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5063, allocations: 1.406 kB / 432.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.5065, allocations: 40.12 kB / 432.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.5071, allocations: 379.1 kB / 433 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.5074, allocations: 134.2 kB / 433.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.5075, allocations: 51.45 kB / 433.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.5076, allocations: 4.5 kB / 433.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.5078, allocations: 75.81 kB / 433.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.5078, allocations: 3.5 kB / 433.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004629/0.5082, allocations: 159.3 kB / 433.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/0.5083, allocations: 162.2 kB / 433.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/0.5087, allocations: 284.1 kB / 433.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5087, allocations: 27.42 kB / 433.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.5088, allocations: 126.9 kB / 434.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.5089, allocations: 19.78 kB / 434.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.5089, allocations: 31.86 kB / 434.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.509, allocations: 334.5 kB / 434.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.5091, allocations: 23.58 kB / 434.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-05/0.5092, allocations: 85.3 kB / 434.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.5093, allocations: 95.62 kB / 434.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5093, allocations: 0 / 434.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001946/0.5095, allocations: 133 kB / 434.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5095, allocations: 7.688 kB / 434.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5095, allocations: 7.953 kB / 434.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.5095, allocations: 0 / 434.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.5096, allocations: 15.64 kB / 434.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5096, allocations: 7.312 kB / 434.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.484e-05/0.5097, allocations: 10.2 kB / 434.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.5097, allocations: 5 kB / 434.8 MB, free: 9.699 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.0001151/0.5098, allocations: 149.3 kB / 435 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.5099, allocations: 83.28 kB / 435 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.51, allocations: 28.39 kB / 435.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.51, allocations: 2.938 kB / 435.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.51, allocations: 1.938 kB / 435.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.51, allocations: 0 / 435.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.5102, allocations: 238.3 kB / 435.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5102, allocations: 4.281 kB / 435.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.5102, allocations: 10.97 kB / 435.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5102, allocations: 1.969 kB / 435.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.5102, allocations: 2.125 kB / 435.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.5102, allocations: 4.953 kB / 435.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5102, allocations: 1.062 kB / 435.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.5105, allocations: 173.2 kB / 435.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.5106, allocations: 113.5 kB / 435.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.5106, allocations: 6.453 kB / 435.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.5107, allocations: 6.719 kB / 435.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.5107, allocations: 12.5 kB / 435.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.5107, allocations: 6.375 kB / 435.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.5109, allocations: 208 kB / 435.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5109, allocations: 4 kB / 435.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000273/0.5112, allocations: 31.22 kB / 435.9 MB, free: 9.043 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.001587/0.5128, allocations: 418.1 kB / 436.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.5131, allocations: 68.58 kB / 436.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5131, allocations: 1.094 kB / 436.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.5132, allocations: 28.34 kB / 436.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.5137, allocations: 88.95 kB / 436.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007378/0.5144, allocations: 340.1 kB / 436.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.5147, allocations: 0.7418 MB / 437.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.252e-05/0.5148, allocations: 24.22 kB / 437.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.5148, allocations: 22.12 kB / 437.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5148, allocations: 0 / 437.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of Templates: time 0.009736/0.5246, allocations: 2.702 MB / 440.3 MB, free: 7.73 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.471134806983173]