Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001787/0.001787, allocations: 77.94 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002161/0.002161, allocations: 159.7 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 177.1 MB / 204.7 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 60.66 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1257, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003651/0.1293, allocations: 1.898 MB / 380.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.1317, allocations: 1.25 MB / 382.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1318, allocations: 7.938 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.1322, allocations: 67.67 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.1326, allocations: 139.4 kB / 382.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.1332, allocations: 239.2 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.1335, allocations: 191.5 kB / 382.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1336, allocations: 21.73 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1338, allocations: 87.62 kB / 382.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1339, allocations: 87.55 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.1339, allocations: 12 kB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.1341, allocations: 71.94 kB / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.1342, allocations: 51.83 kB / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.893e-05/0.1343, allocations: 63.48 kB / 383.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.1346, allocations: 254.9 kB / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1347, allocations: 8 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1347, allocations: 0 / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1347, allocations: 0 / 383.3 MB, free: 11.02 MB / 350.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.0008028/0.1355, allocations: 494.3 kB / 383.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1355, allocations: 15.97 kB / 383.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.1356, allocations: 24.8 kB / 383.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.136, allocations: 242.5 kB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.136, allocations: 8.375 kB / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.136, allocations: 8.375 kB / 384.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.1365, allocations: 208.8 kB / 384.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1365, allocations: 0 / 384.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1365, allocations: 0 / 384.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1365, allocations: 4 kB / 384.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1366, allocations: 43.91 kB / 384.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.1371, allocations: 327 kB / 384.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.1374, allocations: 146.5 kB / 384.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1375, allocations: 63.41 kB / 384.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1376, allocations: 3.938 kB / 384.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.1377, allocations: 83.31 kB / 385 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.1377, allocations: 0 / 385 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004305/0.1382, allocations: 181.3 kB / 385.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1383, allocations: 162.2 kB / 385.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.1386, allocations: 352.2 kB / 385.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1387, allocations: 25.7 kB / 385.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1388, allocations: 132.4 kB / 385.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.1388, allocations: 23.91 kB / 385.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.1389, allocations: 37.66 kB / 385.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.139, allocations: 338.8 kB / 386.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.1391, allocations: 28.36 kB / 386.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.1393, allocations: 155 kB / 386.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.1395, allocations: 101.9 kB / 386.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1395, allocations: 0 / 386.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002613/0.1397, allocations: 149.4 kB / 386.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1397, allocations: 4 kB / 386.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1397, allocations: 0 / 386.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1398, allocations: 4 kB / 386.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1399, allocations: 19.98 kB / 386.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1399, allocations: 4 kB / 386.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.91e-05/0.14, allocations: 8 kB / 386.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.14, allocations: 4 kB / 386.7 MB, free: 7.348 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.0001578/0.1401, allocations: 166.7 kB / 386.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.1403, allocations: 85.44 kB / 386.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.1405, allocations: 131.4 kB / 387 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1405, allocations: 0 / 387 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1406, allocations: 8 kB / 387 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1406, allocations: 0 / 387 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.1408, allocations: 177.2 kB / 387.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1408, allocations: 7.984 kB / 387.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.1408, allocations: 19.92 kB / 387.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1408, allocations: 4.094 kB / 387.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1409, allocations: 4 kB / 387.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1409, allocations: 3.938 kB / 387.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1409, allocations: 4 kB / 387.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.1412, allocations: 191.4 kB / 387.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.1413, allocations: 47.81 kB / 387.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.1413, allocations: 4 kB / 387.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.1414, allocations: 4 kB / 387.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.1414, allocations: 11.98 kB / 387.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1414, allocations: 11.92 kB / 387.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000257/0.1417, allocations: 255.1 kB / 387.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1417, allocations: 0 / 387.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.142, allocations: 39.92 kB / 387.8 MB, free: 6.113 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.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.001603/0.1436, allocations: 439.9 kB / 388.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.1438, allocations: 83.84 kB / 388.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1438, allocations: 384 / 388.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.1439, allocations: 35.98 kB / 388.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.1443, allocations: 89.31 kB / 388.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.145, allocations: 406.6 kB / 388.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.1452, allocations: 136.2 kB / 389 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.699e-05/0.1453, allocations: 33.91 kB / 389 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.1453, allocations: 20.5 kB / 389 MB, free: 4.988 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1453, allocations: 0 / 389 MB, free: 4.988 MB / 350.1 MB Notification: Performance of Templates: time 0.007519/0.1528, allocations: 3.297 MB / 392.3 MB, free: 1.738 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.484378820983693]