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.001386/0.001386, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001489/0.001489, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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 1.579/1.579, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001578/0.001578, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4074, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003462/0.4109, allocations: 1.94 MB / 422.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.4128, allocations: 1.106 MB / 423.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.4129, allocations: 4 kB / 423.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.4135, allocations: 155.5 kB / 424.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.4138, allocations: 111.6 kB / 424.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.4143, allocations: 210.8 kB / 424.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.4146, allocations: 187.5 kB / 424.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.4147, allocations: 29.59 kB / 424.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.4148, allocations: 79.64 kB / 424.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.415, allocations: 83.61 kB / 424.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.415, allocations: 8 kB / 424.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.4151, allocations: 63.89 kB / 424.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.4152, allocations: 43.84 kB / 424.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.145e-05/0.4153, allocations: 71.55 kB / 424.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.4156, allocations: 224.2 kB / 425.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4156, allocations: 0 / 425.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4156, allocations: 0 / 425.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.4156, allocations: 0 / 425.2 MB, free: 10.82 MB / 334.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.0007901/0.4164, allocations: 0.5232 MB / 425.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.4164, allocations: 11.89 kB / 425.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.4165, allocations: 20.8 kB / 425.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.4169, allocations: 286.9 kB / 426 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.4169, allocations: 12.31 kB / 426 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.4169, allocations: 7.938 kB / 426 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.4173, allocations: 179.4 kB / 426.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4173, allocations: 0 / 426.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4173, allocations: 0 / 426.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4173, allocations: 0 / 426.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.4174, allocations: 43.91 kB / 426.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.4179, allocations: 375.2 kB / 426.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.4182, allocations: 130.5 kB / 426.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.312e-05/0.4183, allocations: 51.42 kB / 426.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.4183, allocations: 4 kB / 426.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.4185, allocations: 75.33 kB / 426.8 MB, free: 8.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/0.4185, allocations: 4 kB / 426.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004041/0.4189, allocations: 157.4 kB / 427 MB, free: 8.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.419, allocations: 158.2 kB / 427.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.4193, allocations: 276.9 kB / 427.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.4193, allocations: 25.7 kB / 427.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.4194, allocations: 124.8 kB / 427.6 MB, free: 8.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.4194, allocations: 23.91 kB / 427.6 MB, free: 8.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.4195, allocations: 41.66 kB / 427.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4196, allocations: 326.8 kB / 428 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.4197, allocations: 23.92 kB / 428 MB, free: 7.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.4198, allocations: 83.72 kB / 428.1 MB, free: 7.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.42, allocations: 89.94 kB / 428.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.42, allocations: 4.031 kB / 428.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000237/0.4202, allocations: 133.4 kB / 428.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4202, allocations: 11.58 kB / 428.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4202, allocations: 0 / 428.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4202, allocations: 4 kB / 428.3 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.4203, allocations: 12 kB / 428.3 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.4203, allocations: 3.938 kB / 428.3 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.4204, allocations: 24.06 kB / 428.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4204, allocations: 4 kB / 428.3 MB, free: 7.25 MB / 334.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.0001531/0.4206, allocations: 154.1 kB / 428.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.4207, allocations: 69.53 kB / 428.6 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.4209, allocations: 107.3 kB / 428.7 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.4209, allocations: 4 kB / 428.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4209, allocations: 4.031 kB / 428.7 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4209, allocations: 11.92 kB / 428.7 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.4211, allocations: 233.5 kB / 428.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4211, allocations: 0 / 428.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.4212, allocations: 15.92 kB / 428.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4212, allocations: 0 / 428.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4212, allocations: 4 kB / 428.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4212, allocations: 0 / 428.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4212, allocations: 0 / 428.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.4215, allocations: 183.4 kB / 429.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.4216, allocations: 101 kB / 429.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.4216, allocations: 8 kB / 429.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.4217, allocations: 3.984 kB / 429.2 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.4218, allocations: 7.938 kB / 429.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.4218, allocations: 11.98 kB / 429.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.4221, allocations: 196.5 kB / 429.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4221, allocations: 4 kB / 429.4 MB, free: 6.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004123/0.4225, allocations: 35.86 kB / 429.5 MB, free: 6 MB / 334.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001927/0.4244, allocations: 420.9 kB / 429.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.4247, allocations: 68.22 kB / 430 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4247, allocations: 8.062 kB / 430 MB, free: 5.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.4248, allocations: 27.92 kB / 430 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.4255, allocations: 74.16 kB / 430.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.4263, allocations: 341.3 kB / 430.4 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.4268, allocations: 0.7399 MB / 431.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.756e-05/0.4269, allocations: 21.8 kB / 431.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.4269, allocations: 23.42 kB / 431.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4269, allocations: 0 / 431.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of Templates: time 0.009716/0.4367, allocations: 2.713 MB / 433.9 MB, free: 1.719 MB / 334.1 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.960395030677319]