Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9939/0.9939, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.295e-05, allocations: 5.547 kB / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002481/0.002504, allocations: 1.975 MB / 275 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.004009, allocations: 1.204 MB / 276.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.004124, allocations: 11.94 kB / 276.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.00465, allocations: 151.4 kB / 276.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.004936, allocations: 163.3 kB / 276.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.005269, allocations: 175.3 kB / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.005476, allocations: 207.4 kB / 276.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.005579, allocations: 29.72 kB / 277 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.005694, allocations: 107.7 kB / 277.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.005787, allocations: 67.8 kB / 277.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.005806, allocations: 8 kB / 277.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.005907, allocations: 63.91 kB / 277.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.005963, allocations: 43.83 kB / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.006015, allocations: 43.84 kB / 277.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.006232, allocations: 175.3 kB / 277.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.006234, allocations: 0 / 277.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006235, allocations: 0 / 277.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.006239, allocations: 4 kB / 277.5 MB, free: 13.43 MB / 266.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.0005486/0.006788, allocations: 0.5517 MB / 278 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.006824, allocations: 8.031 kB / 278 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.006887, allocations: 24.8 kB / 278 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.00716, allocations: 240.3 kB / 278.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.007178, allocations: 4.375 kB / 278.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.007191, allocations: 8.375 kB / 278.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.007446, allocations: 176.1 kB / 278.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.007455, allocations: 3.938 kB / 278.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.007467, allocations: 7.984 kB / 278.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.007476, allocations: 0 / 278.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.341e-05/0.007529, allocations: 27.91 kB / 278.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.007875, allocations: 354.8 kB / 278.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.008016, allocations: 152.3 kB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.008067, allocations: 54.73 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.008084, allocations: 4 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.008184, allocations: 72.98 kB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.008186, allocations: 0 / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002466/0.008432, allocations: 141.7 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.008494, allocations: 140.5 kB / 279.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.00869, allocations: 296.3 kB / 279.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.008706, allocations: 29.7 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.008787, allocations: 171.1 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.008807, allocations: 15.84 kB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.008845, allocations: 35.36 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.008965, allocations: 0.5001 MB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.008991, allocations: 7.984 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.434e-05/0.009036, allocations: 64.83 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.009085, allocations: 55.22 kB / 280.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.009086, allocations: 0 / 280.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.8e-05/0.009174, allocations: 85.48 kB / 280.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.009185, allocations: 4 kB / 280.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009191, allocations: 4 kB / 280.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.009201, allocations: 0 / 280.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.009257, allocations: 11.98 kB / 280.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.009261, allocations: 0 / 280.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.009291, allocations: 4 kB / 280.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.009297, allocations: 4 kB / 280.7 MB, free: 9.859 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 8.018e-05/0.009377, allocations: 171 kB / 280.8 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.00944, allocations: 77.48 kB / 280.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.009573, allocations: 103.4 kB / 281 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.009576, allocations: 4 kB / 281 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.00958, allocations: 0 / 281 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.009583, allocations: 0 / 281 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.009716, allocations: 180.5 kB / 281.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009718, allocations: 320 / 281.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.009742, allocations: 15.98 kB / 281.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.009744, allocations: 4.094 kB / 281.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.009755, allocations: 4 kB / 281.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.009757, allocations: 0 / 281.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.00976, allocations: 3.938 kB / 281.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.00991, allocations: 183.2 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.009956, allocations: 39.77 kB / 281.4 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.009979, allocations: 4 kB / 281.4 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.01001, allocations: 4 kB / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.01005, allocations: 11.98 kB / 281.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.01007, allocations: 4 kB / 281.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.01018, allocations: 209.1 kB / 281.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01018, allocations: 0 / 281.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000176/0.01035, allocations: 31.98 kB / 281.7 MB, free: 8.738 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.0008492/0.0112, allocations: 404.2 kB / 282.1 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01134, allocations: 55.59 kB / 282.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01134, allocations: 0 / 282.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.01137, allocations: 31.67 kB / 282.2 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01166, allocations: 91.14 kB / 282.3 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.01206, allocations: 321.2 kB / 282.6 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.272e-05/0.01211, allocations: 87.97 kB / 282.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.49e-05/0.01216, allocations: 17.48 kB / 282.7 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.0122, allocations: 20.48 kB / 282.7 MB, free: 7.812 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0122, allocations: 3.938 kB / 282.7 MB, free: 7.809 MB / 266.7 MB Notification: Performance of Templates: time 0.00466/0.01686, allocations: 2.853 MB / 285.6 MB, free: 5.004 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.051772302016616]