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.00202/0.00202, allocations: 119.4 kB / 18.41 MB, free: 4.516 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.00223/0.00223, allocations: 188.3 kB / 21.34 MB, free: 1.59 MB / 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.578/1.578, allocations: 222.9 MB / 247 MB, free: 4.332 MB / 190.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.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 0.001651/0.001651, allocations: 51.91 kB / 358.7 MB, free: 8.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1203, allocations: 49.44 MB / 408.1 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003715/0.1241, allocations: 1.895 MB / 410 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1263, allocations: 1.161 MB / 411.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.1264, allocations: 7.938 kB / 411.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.1268, allocations: 67.64 kB / 411.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1271, allocations: 91.59 kB / 411.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000768/0.1279, allocations: 266.1 kB / 411.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1282, allocations: 179.5 kB / 411.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1283, allocations: 33.55 kB / 411.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1284, allocations: 87.56 kB / 411.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1286, allocations: 79.62 kB / 412 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.1286, allocations: 8 kB / 412 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.1288, allocations: 67.94 kB / 412 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.569e-05/0.1289, allocations: 55.84 kB / 412.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.129, allocations: 79.36 kB / 412.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.1294, allocations: 250.9 kB / 412.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1294, allocations: 0 / 412.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.1295, allocations: 4 kB / 412.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1295, allocations: 0 / 412.4 MB, free: 2.656 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.0008689/0.1303, allocations: 0.5464 MB / 413 MB, free: 2.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1304, allocations: 15.89 kB / 413 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.1305, allocations: 24.8 kB / 413 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.131, allocations: 303.7 kB / 413.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.131, allocations: 384 / 413.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.131, allocations: 16.12 kB / 413.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.1315, allocations: 178.9 kB / 413.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1315, allocations: 0 / 413.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.1315, allocations: 4 kB / 413.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1315, allocations: 7.984 kB / 413.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1316, allocations: 43.91 kB / 413.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.1323, allocations: 399.2 kB / 413.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.1326, allocations: 146.5 kB / 414.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1327, allocations: 55.42 kB / 414.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1328, allocations: 7.984 kB / 414.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.133, allocations: 75.33 kB / 414.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.133, allocations: 0 / 414.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004672/0.1334, allocations: 173.4 kB / 414.4 MB, free: 452 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.1336, allocations: 187.9 kB / 414.6 MB, free: 220 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.134, allocations: 335.1 kB / 414.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.1341, allocations: 29.7 kB / 414.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1342, allocations: 136.3 kB / 415 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.1342, allocations: 11.91 kB / 415.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.1343, allocations: 37.7 kB / 415.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1345, allocations: 334.8 kB / 415.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.1346, allocations: 31.98 kB / 415.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1347, allocations: 108 kB / 415.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.1349, allocations: 101.9 kB / 415.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1349, allocations: 4 kB / 415.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002807/0.1352, allocations: 141.6 kB / 415.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1353, allocations: 4 kB / 415.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1353, allocations: 7.938 kB / 415.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1353, allocations: 4.188 kB / 415.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1354, allocations: 23.98 kB / 415.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1354, allocations: 4 kB / 415.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/0.1355, allocations: 19.81 kB / 415.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1356, allocations: 8 kB / 415.9 MB, free: 14.81 MB / 350.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,table.y,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.0001714/0.1357, allocations: 150.3 kB / 416 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.1359, allocations: 81.48 kB / 416.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.1359, allocations: 29.8 kB / 416.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.136, allocations: 4 kB / 416.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.136, allocations: 0 / 416.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.136, allocations: 7.938 kB / 416.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.1363, allocations: 245.6 kB / 416.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1363, allocations: 0 / 416.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.1364, allocations: 15.98 kB / 416.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1364, allocations: 4 kB / 416.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1364, allocations: 0 / 416.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1364, allocations: 7.938 kB / 416.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1364, allocations: 0 / 416.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.1367, allocations: 191.3 kB / 416.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1369, allocations: 124.9 kB / 416.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.1369, allocations: 0 / 416.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.137, allocations: 8 kB / 416.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.1371, allocations: 11.98 kB / 416.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1371, allocations: 7.938 kB / 416.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.1374, allocations: 249.9 kB / 417 MB, free: 13.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1374, allocations: 3.938 kB / 417 MB, free: 13.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.1377, allocations: 35.94 kB / 417 MB, free: 13.54 MB / 350.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,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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001598/0.1393, allocations: 430.5 kB / 417.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.1396, allocations: 87.83 kB / 417.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.1396, allocations: 4 kB / 417.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.469e-05/0.1397, allocations: 24 kB / 417.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.1402, allocations: 80.16 kB / 417.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.1409, allocations: 427.6 kB / 418.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.1413, allocations: 0.7397 MB / 418.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.1414, allocations: 35.36 kB / 418.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1414, allocations: 0 / 418.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of Templates: time 0.006176/0.1476, allocations: 3.096 MB / 421.9 MB, free: 8.75 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 7.978970874915831]