Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 116.1 kB / 18.46 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 216.3 kB / 21.42 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 47.92 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1288, allocations: 53.33 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003593/0.1324, allocations: 1.883 MB / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1338, allocations: 0.6974 MB / 430.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1339, allocations: 7.938 kB / 430.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.1341, allocations: 27.67 kB / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.1342, allocations: 27.8 kB / 430.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.1346, allocations: 111.7 kB / 430.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1348, allocations: 139.6 kB / 430.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.135, allocations: 53.62 kB / 430.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1352, allocations: 59.72 kB / 430.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.748e-05/0.1353, allocations: 55.7 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.1353, allocations: 8 kB / 430.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.142e-05/0.1353, allocations: 16 kB / 430.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1354, allocations: 35.84 kB / 430.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.369e-05/0.1355, allocations: 59.61 kB / 430.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1357, allocations: 159.2 kB / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1357, allocations: 0 / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1357, allocations: 0 / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1357, allocations: 0 / 430.8 MB, free: 0.9414 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006939/0.1364, allocations: 454.8 kB / 431.3 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1364, allocations: 8.031 kB / 431.3 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.1366, allocations: 28.83 kB / 431.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.137, allocations: 256.1 kB / 431.5 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.137, allocations: 12.12 kB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.137, allocations: 8 kB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.1377, allocations: 284.2 kB / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1377, allocations: 0 / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1377, allocations: 7.984 kB / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1377, allocations: 4 kB / 431.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.1379, allocations: 71.89 kB / 431.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.1385, allocations: 439.3 kB / 432.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/0.139, allocations: 282.2 kB / 432.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.1392, allocations: 100.2 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.1393, allocations: 4 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.1393, allocations: 46.55 kB / 432.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.1393, allocations: 0 / 432.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006685/0.14, allocations: 221.2 kB / 433 MB, free: 14.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.1401, allocations: 196.3 kB / 433.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.1403, allocations: 186.2 kB / 433.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.1403, allocations: 37.64 kB / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.1404, allocations: 100.5 kB / 433.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1404, allocations: 11.95 kB / 433.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.1405, allocations: 41.66 kB / 433.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1407, allocations: 318.8 kB / 433.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/0.1407, allocations: 27.98 kB / 433.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1409, allocations: 141.1 kB / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.1411, allocations: 174.4 kB / 434.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1411, allocations: 3.938 kB / 434.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003139/0.1415, allocations: 173.6 kB / 434.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1415, allocations: 8 kB / 434.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1415, allocations: 4 kB / 434.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1415, allocations: 4 kB / 434.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1417, allocations: 39.92 kB / 434.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.1417, allocations: 7.938 kB / 434.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1418, allocations: 23.81 kB / 434.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.1418, allocations: 16 kB / 434.5 MB, free: 12.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001395/0.1419, allocations: 134.1 kB / 434.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.1423, allocations: 153.4 kB / 434.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.1424, allocations: 21.41 kB / 434.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1424, allocations: 0 / 434.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.1424, allocations: 4 kB / 434.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.1424, allocations: 7.922 kB / 434.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.1428, allocations: 221.5 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1428, allocations: 0 / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1429, allocations: 44 kB / 435 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1429, allocations: 0 / 435 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1429, allocations: 4 kB / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1429, allocations: 0 / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.1429, allocations: 7.938 kB / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.1434, allocations: 367.3 kB / 435.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1436, allocations: 112.9 kB / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.1436, allocations: 8 kB / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1437, allocations: 7.984 kB / 435.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.1438, allocations: 11.94 kB / 435.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1438, allocations: 4 kB / 435.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1439, allocations: 148.2 kB / 435.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1439, allocations: 0 / 435.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.1443, allocations: 27.89 kB / 435.7 MB, free: 11.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0001484/0.1444, allocations: 103.2 kB / 435.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.1448, allocations: 117.3 kB / 435.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1448, allocations: 0 / 435.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.267e-05/0.1448, allocations: 19.86 kB / 436 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.1455, allocations: 104.2 kB / 436.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.1462, allocations: 352.9 kB / 436.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.1467, allocations: 0.7241 MB / 437.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.1467, allocations: 15.44 kB / 437.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1467, allocations: 0 / 437.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of Templates: time 0.004337/0.1511, allocations: 1.861 MB / 439 MB, free: 8.094 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.587133992987219]