Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001649/0.001649, allocations: 119.4 kB / 18.41 MB, free: 4.688 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.002138/0.002139, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.532/1.532, allocations: 222.9 MB / 247 MB, free: 4.34 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 47.92 kB / 358.7 MB, free: 8.492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1188, allocations: 49.43 MB / 408.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003895/0.1227, allocations: 1.907 MB / 410 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1249, allocations: 1.149 MB / 411.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.125, allocations: 0 / 411.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.1254, allocations: 67.66 kB / 411.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.1258, allocations: 95.59 kB / 411.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008108/0.1266, allocations: 255 kB / 411.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.1269, allocations: 179.5 kB / 411.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.127, allocations: 37.55 kB / 411.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.1272, allocations: 71.69 kB / 411.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1273, allocations: 87.61 kB / 411.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.1273, allocations: 8 kB / 411.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.1275, allocations: 71.89 kB / 412 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1277, allocations: 51.83 kB / 412.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.779e-05/0.1278, allocations: 75.48 kB / 412.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.1282, allocations: 246.9 kB / 412.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1282, allocations: 0 / 412.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1282, allocations: 8 kB / 412.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1282, allocations: 0 / 412.4 MB, free: 2.715 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.0008776/0.1291, allocations: 0.5348 MB / 412.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1291, allocations: 11.89 kB / 412.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.1292, allocations: 32.73 kB / 413 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.1298, allocations: 291.8 kB / 413.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1298, allocations: 8.312 kB / 413.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1298, allocations: 16.12 kB / 413.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.1303, allocations: 171.1 kB / 413.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1303, allocations: 3.938 kB / 413.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1303, allocations: 4 kB / 413.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1304, allocations: 4 kB / 413.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1305, allocations: 39.97 kB / 413.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.1312, allocations: 474.4 kB / 413.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.1315, allocations: 146.5 kB / 414.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.1317, allocations: 63.41 kB / 414.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.1317, allocations: 4 kB / 414.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1319, allocations: 97.03 kB / 414.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1319, allocations: 0 / 414.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000473/0.1324, allocations: 169.4 kB / 414.4 MB, free: 432 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.1326, allocations: 191.9 kB / 414.6 MB, free: 196 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.133, allocations: 330.6 kB / 414.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.133, allocations: 25.7 kB / 414.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1332, allocations: 136.3 kB / 415.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.1332, allocations: 16.28 kB / 415.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.1333, allocations: 41.66 kB / 415.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1335, allocations: 334.8 kB / 415.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.1336, allocations: 35.98 kB / 415.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1337, allocations: 95.2 kB / 415.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.134, allocations: 97.02 kB / 415.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.134, allocations: 0 / 415.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003264/0.1343, allocations: 141.4 kB / 415.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.1343, allocations: 11.98 kB / 415.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1343, allocations: 0 / 415.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1344, allocations: 4 kB / 415.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1345, allocations: 19.94 kB / 415.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1345, allocations: 3.984 kB / 415.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-05/0.1346, allocations: 15.88 kB / 415.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1346, allocations: 4 kB / 415.9 MB, free: 14.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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,shiftSample1.y,hold1.y,hold1.u,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.0001719/0.1348, allocations: 162.4 kB / 416 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1349, allocations: 77.48 kB / 416.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.135, allocations: 25.7 kB / 416.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.135, allocations: 4 kB / 416.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.135, allocations: 0 / 416.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.135, allocations: 4.25 kB / 416.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.1353, allocations: 249.6 kB / 416.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.1353, allocations: 4 kB / 416.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.1354, allocations: 15.98 kB / 416.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1354, allocations: 8.062 kB / 416.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1354, allocations: 0 / 416.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1354, allocations: 0 / 416.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1355, allocations: 4 kB / 416.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.1358, allocations: 187.3 kB / 416.6 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.136, allocations: 120.9 kB / 416.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.136, allocations: 8 kB / 416.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.1361, allocations: 4 kB / 416.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.1361, allocations: 15.92 kB / 416.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1362, allocations: 4 kB / 416.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002718/0.1364, allocations: 245.9 kB / 417 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1365, allocations: 0 / 417 MB, free: 13.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.1368, allocations: 32 kB / 417 MB, free: 13.56 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,hold1.y,hold1.u,shiftSample1.y,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.001658/0.1384, allocations: 440.5 kB / 417.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.1387, allocations: 87.83 kB / 417.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1388, allocations: 0 / 417.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1389, allocations: 39.91 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.000462/0.1393, allocations: 67.91 kB / 417.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.1402, allocations: 423.3 kB / 418.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.1406, allocations: 0.7398 MB / 418.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.1407, allocations: 23.44 kB / 418.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1407, allocations: 4 kB / 418.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Templates: time 0.006324/0.147, allocations: 3.006 MB / 421.8 MB, free: 8.863 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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: 8.105294181033969]