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.001122/0.001122, allocations: 84 kB / 21.43 MB, free: 3.129 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.003895/0.003895, allocations: 145.3 kB / 24.68 MB, free: 9.422 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.822/0.822, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.112e-06/1.112e-06, allocations: 0 / 319.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.47e-05, allocations: 6.281 kB / 319.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002028/0.002043, allocations: 1.89 MB / 321.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003185, allocations: 1.032 MB / 322.6 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003288, allocations: 11.88 kB / 322.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.003773, allocations: 163.3 kB / 322.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.003976, allocations: 122.3 kB / 322.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.004281, allocations: 206.9 kB / 323.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.004464, allocations: 199.4 kB / 323.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.004559, allocations: 33.66 kB / 323.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.004663, allocations: 103.7 kB / 323.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.004748, allocations: 63.8 kB / 323.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.004768, allocations: 12 kB / 323.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.233e-05/0.00486, allocations: 59.89 kB / 323.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.004915, allocations: 43.84 kB / 323.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.004961, allocations: 43.84 kB / 323.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.005198, allocations: 215.2 kB / 323.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.0052, allocations: 0 / 323.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005201, allocations: 0 / 323.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.005205, allocations: 0 / 323.8 MB, free: 1.68 MB / 282.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.0005293/0.005734, allocations: 458.6 kB / 324.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.00577, allocations: 12.03 kB / 324.3 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.005814, allocations: 20.8 kB / 324.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.006049, allocations: 220.8 kB / 324.5 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.006061, allocations: 4.375 kB / 324.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.006075, allocations: 8.375 kB / 324.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.00631, allocations: 167.2 kB / 324.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.006321, allocations: 7.938 kB / 324.7 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.006331, allocations: 4 kB / 324.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.006335, allocations: 0 / 324.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.909e-05/0.006404, allocations: 39.92 kB / 324.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.006736, allocations: 307 kB / 325.1 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.006883, allocations: 138.4 kB / 325.2 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.006934, allocations: 51.42 kB / 325.3 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.006951, allocations: 4 kB / 325.3 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.007053, allocations: 75.31 kB / 325.3 MB, free: 4 kB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 9.828e-06/0.007062, allocations: 4.047 kB / 325.3 MB, free: 16 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000241/0.007303, allocations: 157.5 kB / 325.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.00736, allocations: 140.5 kB / 325.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.007603, allocations: 273.9 kB / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.007616, allocations: 29.7 kB / 325.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.007673, allocations: 120.5 kB / 326 MB, free: 15.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.007691, allocations: 11.91 kB / 326.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.007727, allocations: 37.66 kB / 326.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.0078, allocations: 323.2 kB / 326.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/0.007832, allocations: 23.98 kB / 326.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.935e-05/0.007882, allocations: 72.25 kB / 326.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/0.007945, allocations: 65.52 kB / 326.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.007947, allocations: 4.188 kB / 326.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.997e-05/0.008047, allocations: 101.6 kB / 326.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.008058, allocations: 4 kB / 326.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.008062, allocations: 0 / 326.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.008074, allocations: 4 kB / 326.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.008124, allocations: 16 kB / 326.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.008129, allocations: 0 / 326.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.00816, allocations: 7.984 kB / 326.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.008166, allocations: 4 kB / 326.7 MB, free: 14.53 MB / 298.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 8.057e-05/0.008247, allocations: 143.5 kB / 326.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.008307, allocations: 81.48 kB / 326.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.008449, allocations: 111.4 kB / 327 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.008451, allocations: 0 / 327 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008455, allocations: 4.094 kB / 327 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008459, allocations: 7.938 kB / 327 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.008564, allocations: 169.1 kB / 327.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.008566, allocations: 4 kB / 327.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.008581, allocations: 4 kB / 327.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008583, allocations: 0 / 327.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.008592, allocations: 11.98 kB / 327.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008593, allocations: 0 / 327.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008594, allocations: 4 kB / 327.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.008734, allocations: 183.3 kB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.008776, allocations: 31.89 kB / 327.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.008794, allocations: 8 kB / 327.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.081e-05/0.008824, allocations: 4 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.008986, allocations: 3.984 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.008998, allocations: 8 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.009118, allocations: 201.2 kB / 327.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009118, allocations: 0 / 327.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001551/0.009273, allocations: 31.92 kB / 327.7 MB, free: 13.46 MB / 298.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.0006195/0.009892, allocations: 451.7 kB / 328.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.01002, allocations: 71.83 kB / 328.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01002, allocations: 4 kB / 328.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.74e-05/0.01006, allocations: 23.92 kB / 328.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.01031, allocations: 81.89 kB / 328.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.01069, allocations: 371.4 kB / 328.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.48e-05/0.01077, allocations: 123.9 kB / 328.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.0108, allocations: 24.5 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.0108, allocations: 0 / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of Templates: time 0.003245/0.01405, allocations: 2.813 MB / 331.6 MB, free: 9.66 MB / 298.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=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.410000775009394]