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.0009786/0.0009786, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009374/0.0009374, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 0.996/0.996, allocations: 173.4 MB / 201.1 MB, free: 9.32 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.523e-06/1.523e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.249e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002746/0.002768, allocations: 1.956 MB / 269.9 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.004475, allocations: 1.137 MB / 271.1 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.004595, allocations: 7.938 kB / 271.1 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.004932, allocations: 67.59 kB / 271.2 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.005207, allocations: 103.5 kB / 271.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006134/0.00582, allocations: 267 kB / 271.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.00604, allocations: 183.4 kB / 271.7 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.006156, allocations: 25.78 kB / 271.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.006278, allocations: 107.7 kB / 271.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.006383, allocations: 71.8 kB / 271.9 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.006408, allocations: 8 kB / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.006535, allocations: 67.88 kB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.006613, allocations: 55.83 kB / 272 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.006677, allocations: 51.78 kB / 272.1 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.006937, allocations: 191.2 kB / 272.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.006939, allocations: 0 / 272.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00694, allocations: 0 / 272.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.006943, allocations: 0 / 272.3 MB, free: 2.129 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.0005206/0.007464, allocations: 0.575 MB / 272.8 MB, free: 1.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.007503, allocations: 8.031 kB / 272.8 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.007571, allocations: 28.8 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.007893, allocations: 231.6 kB / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.007912, allocations: 8.375 kB / 273.1 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.007926, allocations: 4.375 kB / 273.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.008207, allocations: 214.3 kB / 273.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.008217, allocations: 3.938 kB / 273.3 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.008228, allocations: 4 kB / 273.3 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.008235, allocations: 3.938 kB / 273.3 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.709e-05/0.008292, allocations: 39.89 kB / 273.4 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.008692, allocations: 374.7 kB / 273.7 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.008839, allocations: 152.3 kB / 273.9 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.008891, allocations: 54.73 kB / 273.9 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.008909, allocations: 4 kB / 273.9 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.441e-05/0.009003, allocations: 76.97 kB / 274 MB, free: 132 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.009005, allocations: 4 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002365/0.009241, allocations: 141.4 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.009306, allocations: 162.2 kB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.00953, allocations: 324.3 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.009548, allocations: 29.7 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.009632, allocations: 179.2 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.009653, allocations: 19.89 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.009689, allocations: 31.73 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.009808, allocations: 0.5079 MB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.009835, allocations: 15.98 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.009895, allocations: 98.14 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.886e-05/0.009954, allocations: 51.5 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.009956, allocations: 0 / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000106/0.01006, allocations: 89.48 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.01007, allocations: 4 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01007, allocations: 3.984 kB / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01009, allocations: 0 / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.01015, allocations: 20.06 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01016, allocations: 0 / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.01019, allocations: 7.938 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.0102, allocations: 3.984 kB / 275.7 MB, free: 14.32 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,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 8.26e-05/0.01028, allocations: 168.5 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.01035, allocations: 85.38 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.0105, allocations: 103.4 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01051, allocations: 4 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01051, allocations: 4.094 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01052, allocations: 0 / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.01066, allocations: 196.5 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01066, allocations: 4 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.01071, allocations: 12 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01071, allocations: 0 / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.01072, allocations: 7.984 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01072, allocations: 3.938 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01073, allocations: 4 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.01089, allocations: 183.2 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.01095, allocations: 51.72 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01097, allocations: 4 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.704e-05/0.011, allocations: 12.06 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.01104, allocations: 11.92 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.01106, allocations: 11.98 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.01119, allocations: 221.1 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01119, allocations: 0 / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.01136, allocations: 35.98 kB / 276.8 MB, free: 13.12 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,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.0008241/0.01218, allocations: 411 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.0123, allocations: 59.55 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0123, allocations: 0 / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.01234, allocations: 35.73 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.01261, allocations: 73.5 kB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.013, allocations: 353 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.808e-05/0.01305, allocations: 83.97 kB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.382e-05/0.01309, allocations: 21.7 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.01314, allocations: 32.48 kB / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01314, allocations: 0 / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of Templates: time 0.005025/0.01816, allocations: 3.218 MB / 281 MB, free: 8.988 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.9973605019040406]