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.001135/0.001135, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.001317/0.001317, allocations: 145.9 kB / 25.59 MB, free: 8.098 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 1.059/1.059, allocations: 173.4 MB / 202.3 MB, free: 8.277 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.723e-06/1.723e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.803e-05, allocations: 2.312 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003846/0.003874, allocations: 1.946 MB / 271.1 MB, free: 7.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.005776, allocations: 1.043 MB / 272.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.005953, allocations: 7.938 kB / 272.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000689/0.006642, allocations: 152.8 kB / 272.3 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.007018, allocations: 124 kB / 272.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.007665, allocations: 213 kB / 272.7 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.007984, allocations: 195.4 kB / 272.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.008133, allocations: 26.89 kB / 272.9 MB, free: 6.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.008361, allocations: 103.7 kB / 273 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.008525, allocations: 67.8 kB / 273.1 MB, free: 5.922 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.008559, allocations: 9.531 kB / 273.1 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.008745, allocations: 59.89 kB / 273.1 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.008845, allocations: 55.77 kB / 273.2 MB, free: 5.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.377e-05/0.008909, allocations: 35.86 kB / 273.2 MB, free: 5.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.009268, allocations: 167.9 kB / 273.4 MB, free: 5.602 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.009273, allocations: 0 / 273.4 MB, free: 5.602 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009274, allocations: 0.875 kB / 273.4 MB, free: 5.602 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.00928, allocations: 0 / 273.4 MB, free: 5.602 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.000705/0.009985, allocations: 0.5447 MB / 273.9 MB, free: 5.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.01003, allocations: 8.031 kB / 273.9 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.0101, allocations: 29.36 kB / 274 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.01043, allocations: 234.5 kB / 274.2 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.01045, allocations: 4.375 kB / 274.2 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.01047, allocations: 8.375 kB / 274.2 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.01074, allocations: 150.3 kB / 274.3 MB, free: 4.539 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.01075, allocations: 7.938 kB / 274.4 MB, free: 4.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.01076, allocations: 0 / 274.4 MB, free: 4.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01077, allocations: 4.859 kB / 274.4 MB, free: 4.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.01082, allocations: 24.41 kB / 274.4 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.01125, allocations: 335.3 kB / 274.7 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.01144, allocations: 136.5 kB / 274.8 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.0115, allocations: 50.67 kB / 274.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.01152, allocations: 7.984 kB / 274.9 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.01164, allocations: 72.98 kB / 275 MB, free: 3.793 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.01164, allocations: 0 / 275 MB, free: 3.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.000296/0.01194, allocations: 133.3 kB / 275.1 MB, free: 3.656 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.01201, allocations: 132.5 kB / 275.2 MB, free: 3.496 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.01227, allocations: 288.2 kB / 275.5 MB, free: 3.195 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.0123, allocations: 29.7 kB / 275.5 MB, free: 3.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.0124, allocations: 179 kB / 275.7 MB, free: 2.977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.01242, allocations: 11.91 kB / 275.7 MB, free: 2.965 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.01247, allocations: 35.34 kB / 275.8 MB, free: 2.922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.01263, allocations: 0.4962 MB / 276.3 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.01265, allocations: 4.375 kB / 276.3 MB, free: 2.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.01271, allocations: 72.73 kB / 276.3 MB, free: 2.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.01277, allocations: 43.61 kB / 276.4 MB, free: 2.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01277, allocations: 0 / 276.4 MB, free: 2.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000124/0.0129, allocations: 77.47 kB / 276.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.01291, allocations: 8 kB / 276.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01292, allocations: 0 / 276.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.01293, allocations: 0 / 276.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.013, allocations: 8 kB / 276.5 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.013, allocations: 0 / 276.5 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.01306, allocations: 16.05 kB / 276.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.01307, allocations: 4 kB / 276.5 MB, free: 2.152 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 0.0001065/0.01318, allocations: 160.5 kB / 276.6 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.01327, allocations: 81.42 kB / 276.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.01344, allocations: 95.52 kB / 276.8 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.01345, allocations: 4 kB / 276.8 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01345, allocations: 0 / 276.8 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.01345, allocations: 7.984 kB / 276.8 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.01362, allocations: 141.2 kB / 277 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01362, allocations: 4 kB / 277 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.01366, allocations: 11.92 kB / 277 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.01366, allocations: 7.938 kB / 277 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01367, allocations: 0 / 277 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01367, allocations: 4 kB / 277 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01368, allocations: 0 / 277 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.01385, allocations: 151.3 kB / 277.1 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.01392, allocations: 35.84 kB / 277.2 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.01395, allocations: 7.938 kB / 277.2 MB, free: 1.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.01402, allocations: 7.922 kB / 277.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.01405, allocations: 12.06 kB / 277.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.01407, allocations: 8 kB / 277.2 MB, free: 1.34 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.01421, allocations: 193.1 kB / 277.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01421, allocations: 0 / 277.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.01448, allocations: 35.92 kB / 277.4 MB, free: 1.117 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.00135/0.01583, allocations: 401.4 kB / 277.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.01597, allocations: 47.59 kB / 277.9 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01597, allocations: 0 / 277.9 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.01601, allocations: 35.59 kB / 277.9 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.01629, allocations: 67.64 kB / 278 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.01671, allocations: 324.8 kB / 278.3 MB, free: 368 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.154e-05/0.01676, allocations: 87.88 kB / 278.4 MB, free: 260 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.903e-05/0.01681, allocations: 21.62 kB / 278.4 MB, free: 236 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.01691, allocations: 106.2 kB / 278.5 MB, free: 128 kB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01691, allocations: 0 / 278.5 MB, free: 128 kB / 250.7 MB Notification: Performance of Templates: time 0.004781/0.02169, allocations: 3.107 MB / 281.6 MB, free: 13.08 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] 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","",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.8984576547518373]