Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001527/0.001527, allocations: 82.28 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.001509/0.001509, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.031/1.031, allocations: 173.4 MB / 202.2 MB, free: 8.285 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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.783e-05, allocations: 5.266 kB / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002652/0.00268, allocations: 1.931 MB / 271.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.00416, allocations: 1.125 MB / 272.2 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.004309, allocations: 7.938 kB / 272.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.004627, allocations: 63.59 kB / 272.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.004889, allocations: 108.4 kB / 272.4 MB, free: 6.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.0055, allocations: 261.5 kB / 272.7 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.005736, allocations: 183.4 kB / 272.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.005835, allocations: 29.78 kB / 272.9 MB, free: 6.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.005969, allocations: 105 kB / 273 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.006082, allocations: 71.8 kB / 273.1 MB, free: 5.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.006104, allocations: 8 kB / 273.1 MB, free: 5.918 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.006253, allocations: 68.38 kB / 273.1 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.006321, allocations: 55.83 kB / 273.2 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.006372, allocations: 48.38 kB / 273.2 MB, free: 5.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.006636, allocations: 193.2 kB / 273.4 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.006639, allocations: 0 / 273.4 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.00664, allocations: 0 / 273.4 MB, free: 5.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.006645, allocations: 0 / 273.4 MB, free: 5.562 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.0005654/0.00721, allocations: 0.571 MB / 274 MB, free: 4.949 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.007247, allocations: 13.81 kB / 274 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.007307, allocations: 28.8 kB / 274 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.007559, allocations: 224.5 kB / 274.3 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.007579, allocations: 4.375 kB / 274.3 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.007593, allocations: 12.31 kB / 274.3 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.007824, allocations: 174.1 kB / 274.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.007835, allocations: 7.938 kB / 274.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.007843, allocations: 0 / 274.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.007849, allocations: 0 / 274.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.007891, allocations: 23.92 kB / 274.5 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.008306, allocations: 339.3 kB / 274.8 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.008473, allocations: 144.4 kB / 274.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.008522, allocations: 58.67 kB / 275 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.008541, allocations: 4 kB / 275 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.008654, allocations: 76.97 kB / 275.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 2.315e-06/0.008656, allocations: 3.984 kB / 275.1 MB, free: 3.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002563/0.008912, allocations: 121.5 kB / 275.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.008989, allocations: 140.8 kB / 275.3 MB, free: 3.391 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.00921, allocations: 328.1 kB / 275.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.009228, allocations: 25.7 kB / 275.7 MB, free: 3.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.009314, allocations: 187.1 kB / 275.9 MB, free: 2.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.009335, allocations: 15.89 kB / 275.9 MB, free: 2.812 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.009376, allocations: 31.36 kB / 275.9 MB, free: 2.773 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.009514, allocations: 0.5079 MB / 276.4 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.009538, allocations: 11.98 kB / 276.4 MB, free: 2.242 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.475e-05/0.009583, allocations: 60.75 kB / 276.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.009632, allocations: 39.55 kB / 276.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.009634, allocations: 8.031 kB / 276.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.009742, allocations: 93.42 kB / 276.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.009755, allocations: 4 kB / 276.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.00976, allocations: 0 / 276.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.00977, allocations: 0 / 276.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.00984, allocations: 15.98 kB / 276.7 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.009843, allocations: 0 / 276.7 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.009887, allocations: 11.88 kB / 276.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.009893, allocations: 0 / 276.7 MB, free: 1.98 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,table.y) * 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.148e-05/0.009984, allocations: 168.6 kB / 276.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.01006, allocations: 85.41 kB / 276.9 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.0102, allocations: 103.5 kB / 277 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.0102, allocations: 4 kB / 277 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.0102, allocations: 0 / 277 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01021, allocations: 0 / 277 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.01034, allocations: 149.2 kB / 277.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01034, allocations: 4 kB / 277.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.01039, allocations: 15.98 kB / 277.2 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.01039, allocations: 4.031 kB / 277.2 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.0104, allocations: 12 kB / 277.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.0104, allocations: 0 / 277.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.01041, allocations: 7.938 kB / 277.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.01054, allocations: 155.3 kB / 277.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.0106, allocations: 31.84 kB / 277.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01062, allocations: 7.922 kB / 277.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.01066, allocations: 8 kB / 277.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.0107, allocations: 7.984 kB / 277.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.01071, allocations: 8 kB / 277.4 MB, free: 1.137 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.01084, allocations: 217.1 kB / 277.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01084, allocations: 0 / 277.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001952/0.01103, allocations: 31.94 kB / 277.7 MB, free: 0.8945 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,table.y,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.0009137/0.01195, allocations: 418.4 kB / 278.1 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.01209, allocations: 59.53 kB / 278.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01209, allocations: 0 / 278.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.01213, allocations: 27.67 kB / 278.2 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.01244, allocations: 72.67 kB / 278.2 MB, free: 472 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.0129, allocations: 357.3 kB / 278.6 MB, free: 72 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.01297, allocations: 95.92 kB / 278.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.718e-05/0.01303, allocations: 25.56 kB / 278.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.01313, allocations: 110.2 kB / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01313, allocations: 0 / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Templates: time 0.005543/0.01867, allocations: 3.466 MB / 282.3 MB, free: 12.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.8483288092538714]