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.0007345/0.0007345, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009054/0.00164, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006716/0.0006716, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008528/0.001524, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9449/0.9449, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08751/1.032, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 1.654e-06/1.654e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.606e-05, allocations: 6.25 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003509/0.003535, allocations: 2.018 MB / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.005714, allocations: 1.222 MB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.005891, allocations: 11.88 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.006444, allocations: 147.4 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004713/0.006915, allocations: 167.2 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.007497, allocations: 186.5 kB / 248.8 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.007799, allocations: 199.4 kB / 249 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.007912, allocations: 34.33 kB / 249 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.008153, allocations: 143.7 kB / 249.1 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.008289, allocations: 67.8 kB / 249.2 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.008315, allocations: 8 kB / 249.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.008499, allocations: 63.83 kB / 249.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.008572, allocations: 39.86 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.008626, allocations: 31.88 kB / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.008945, allocations: 159.4 kB / 249.5 MB, free: 9.156 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.008961, allocations: 4 kB / 249.5 MB, free: 9.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.008962, allocations: 0 / 249.5 MB, free: 9.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.008978, allocations: 0 / 249.5 MB, free: 9.152 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.0006561/0.009634, allocations: 464.9 kB / 249.9 MB, free: 8.668 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.009666, allocations: 8.031 kB / 250 MB, free: 8.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.009719, allocations: 20.92 kB / 250 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.01002, allocations: 221.5 kB / 250.2 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.01004, allocations: 8.375 kB / 250.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.01006, allocations: 8.375 kB / 250.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.01031, allocations: 141.3 kB / 250.3 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.01032, allocations: 192 / 250.3 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.01033, allocations: 384 / 250.3 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.01034, allocations: 7.938 kB / 250.4 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.956e-05/0.0104, allocations: 26.73 kB / 250.4 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.01072, allocations: 208.4 kB / 250.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.01088, allocations: 161.1 kB / 250.7 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.01093, allocations: 39.42 kB / 250.8 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.01095, allocations: 4 kB / 250.8 MB, free: 7.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.01108, allocations: 82.08 kB / 250.9 MB, free: 7.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 2.996e-06/0.01108, allocations: 3.984 kB / 250.9 MB, free: 7.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001865/0.01127, allocations: 97.53 kB / 251 MB, free: 7.508 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.01134, allocations: 132.5 kB / 251.1 MB, free: 7.348 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.01154, allocations: 238.7 kB / 251.3 MB, free: 7.098 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.01156, allocations: 25.7 kB / 251.3 MB, free: 7.066 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.01162, allocations: 112.8 kB / 251.5 MB, free: 6.949 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.01165, allocations: 11.91 kB / 251.5 MB, free: 6.938 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.01169, allocations: 29.69 kB / 251.5 MB, free: 6.902 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.01179, allocations: 326.8 kB / 251.8 MB, free: 6.574 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.01181, allocations: 11.14 kB / 251.8 MB, free: 6.562 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.01186, allocations: 60.25 kB / 251.9 MB, free: 6.488 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.319e-05/0.01191, allocations: 39.36 kB / 251.9 MB, free: 6.441 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01191, allocations: 0 / 251.9 MB, free: 6.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.01202, allocations: 68.38 kB / 252 MB, free: 6.367 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01203, allocations: 7.938 kB / 252 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01204, allocations: 0 / 252 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.01205, allocations: 4 kB / 252 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.01213, allocations: 11.98 kB / 252 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.01213, allocations: 0 / 252 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.01218, allocations: 15.95 kB / 252 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.01219, allocations: 8 kB / 252 MB, free: 6.32 MB / 250.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.079e-05/0.01228, allocations: 116.6 kB / 252.2 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/0.01236, allocations: 65.55 kB / 252.2 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.01249, allocations: 79.42 kB / 252.3 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01249, allocations: 0 / 252.3 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01249, allocations: 0 / 252.3 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.0125, allocations: 4 kB / 252.3 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.01263, allocations: 102.2 kB / 252.4 MB, free: 5.922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01263, allocations: 4.094 kB / 252.4 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.01268, allocations: 19.92 kB / 252.4 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.01275, allocations: 39.77 kB / 252.5 MB, free: 5.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01275, allocations: 0 / 252.5 MB, free: 5.859 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01276, allocations: 7.938 kB / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01277, allocations: 0 / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01277, allocations: 0 / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.01289, allocations: 105.3 kB / 252.6 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.01292, allocations: 7.984 kB / 252.6 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.01298, allocations: 15.88 kB / 252.6 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.01301, allocations: 11.98 kB / 252.6 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.01302, allocations: 0 / 252.6 MB, free: 5.684 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.01312, allocations: 89.59 kB / 252.7 MB, free: 5.594 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01312, allocations: 0 / 252.7 MB, free: 5.594 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.01335, allocations: 27.98 kB / 252.7 MB, free: 5.566 MB / 250.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.001664/0.01502, allocations: 0.5478 MB / 253.3 MB, free: 5.242 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.01514, allocations: 48.77 kB / 253.3 MB, free: 5.191 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.01515, allocations: 4 kB / 253.3 MB, free: 5.188 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.164e-05/0.01519, allocations: 20.84 kB / 253.3 MB, free: 5.164 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.0155, allocations: 85.16 kB / 253.4 MB, free: 5.082 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.01621, allocations: 332.2 kB / 253.7 MB, free: 4.719 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.766e-05/0.01626, allocations: 79.97 kB / 253.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.87e-05/0.01633, allocations: 22.11 kB / 253.8 MB, free: 4.602 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.01645, allocations: 83.36 kB / 253.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01645, allocations: 0 / 253.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of Templates: time 0.006499/0.02295, allocations: 3.152 MB / 257.1 MB, free: 1.418 MB / 250.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] 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","",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.584482964128256]