Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001338/0.001338, allocations: 118 kB / 18.46 MB, free: 4.562 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.001369/0.001369, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.607/1.607, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 51.92 kB / 374.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1326, allocations: 53.33 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003598/0.1362, allocations: 1.622 MB / 429.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1374, allocations: 0.5688 MB / 429.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1375, allocations: 7.938 kB / 429.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.256e-05/0.1376, allocations: 11.86 kB / 429.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.1377, allocations: 11.94 kB / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.1381, allocations: 67.75 kB / 429.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1382, allocations: 55.77 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1383, allocations: 12 kB / 429.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1385, allocations: 35.8 kB / 429.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.1385, allocations: 31.83 kB / 429.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1386, allocations: 4 kB / 429.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.406e-05/0.1386, allocations: 8 kB / 429.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.1387, allocations: 11.94 kB / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.1387, allocations: 31.8 kB / 430 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1389, allocations: 67.67 kB / 430 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1389, allocations: 0 / 430 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1389, allocations: 0 / 430 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1389, allocations: 0 / 430 MB, free: 1.734 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006064/0.1395, allocations: 398.9 kB / 430.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1395, allocations: 8.031 kB / 430.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.1397, allocations: 24.88 kB / 430.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1401, allocations: 212.6 kB / 430.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1401, allocations: 8.375 kB / 430.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1401, allocations: 12.11 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.1404, allocations: 126.8 kB / 430.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1405, allocations: 3.984 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1405, allocations: 4 kB / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1405, allocations: 0 / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1406, allocations: 27.92 kB / 430.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.141, allocations: 291.4 kB / 431.1 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1412, allocations: 90.42 kB / 431.2 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.1413, allocations: 43.48 kB / 431.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1413, allocations: 0 / 431.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1414, allocations: 46.44 kB / 431.3 MB, free: 244 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1414, allocations: 0 / 431.3 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003493/0.1417, allocations: 105.9 kB / 431.4 MB, free: 132 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.1418, allocations: 132.5 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.142, allocations: 148.3 kB / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.142, allocations: 25.7 kB / 431.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.1421, allocations: 96.08 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1421, allocations: 7.938 kB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.1421, allocations: 21.67 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1423, allocations: 326.9 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.1423, allocations: 8 kB / 432.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.1424, allocations: 40.28 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1425, allocations: 64.16 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1425, allocations: 4 kB / 432.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001719/0.1427, allocations: 81.56 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1427, allocations: 8.156 kB / 432.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1427, allocations: 4 kB / 432.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1428, allocations: 0 / 432.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.1429, allocations: 19.92 kB / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1429, allocations: 0 / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.1429, allocations: 7.938 kB / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1429, allocations: 7.938 kB / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001238/0.143, allocations: 121.8 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1432, allocations: 65.58 kB / 432.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.1432, allocations: 11.94 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1432, allocations: 4 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1432, allocations: 0 / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1432, allocations: 7.938 kB / 432.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.1434, allocations: 173.6 kB / 432.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1435, allocations: 0 / 432.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.1435, allocations: 15.98 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1435, allocations: 0 / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1435, allocations: 4.125 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1435, allocations: 4 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1435, allocations: 4 kB / 432.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1438, allocations: 205.8 kB / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.1439, allocations: 93.05 kB / 433.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.1439, allocations: 4 kB / 433.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.144, allocations: 7.984 kB / 433.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.144, allocations: 11.94 kB / 433.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.144, allocations: 4 kB / 433.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.049e-05/0.1441, allocations: 110.2 kB / 433.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1441, allocations: 0 / 433.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1444, allocations: 8 kB / 433.2 MB, free: 14.09 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001649/0.1445, allocations: 103.7 kB / 433.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.1447, allocations: 47.91 kB / 433.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1447, allocations: 4 kB / 433.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.1448, allocations: 4 kB / 433.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1452, allocations: 38.28 kB / 433.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.1456, allocations: 235.8 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.146, allocations: 0.7041 MB / 434.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.146, allocations: 11.44 kB / 434.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.146, allocations: 0 / 434.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.003053/0.1491, allocations: 0.9375 MB / 435.3 MB, free: 11.94 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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: 7.511398379021557]