Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001355/0.001355, allocations: 124.1 kB / 17.79 MB, free: 5.25 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.001288/0.001288, allocations: 194.8 kB / 20.73 MB, free: 2.312 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.616/1.616, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 51.92 kB / 366.1 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1323, allocations: 52.14 MB / 418.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.00308/0.1354, allocations: 1.623 MB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009761/0.1363, allocations: 0.5064 MB / 420.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.1364, allocations: 4 kB / 420.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.166e-05/0.1365, allocations: 7.875 kB / 420.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.1366, allocations: 11.92 kB / 420.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1369, allocations: 59.19 kB / 420.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.137, allocations: 51.78 kB / 420.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1372, allocations: 16 kB / 420.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.1372, allocations: 23.86 kB / 420.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.1373, allocations: 27.84 kB / 420.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1373, allocations: 8 kB / 420.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.1373, allocations: 4 kB / 420.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.1374, allocations: 15.92 kB / 420.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.1374, allocations: 27.75 kB / 420.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1376, allocations: 67.66 kB / 420.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1376, allocations: 4 kB / 420.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1376, allocations: 0 / 420.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.1376, allocations: 0 / 420.7 MB, free: 9.633 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.0005522/0.1382, allocations: 383 kB / 421.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1382, allocations: 12.03 kB / 421.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.1382, allocations: 16.84 kB / 421.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1385, allocations: 204.7 kB / 421.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1385, allocations: 4.375 kB / 421.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1385, allocations: 8.125 kB / 421.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.1389, allocations: 130.7 kB / 421.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1389, allocations: 0 / 421.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1389, allocations: 3.938 kB / 421.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1389, allocations: 7.984 kB / 421.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.139, allocations: 27.92 kB / 421.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.1394, allocations: 287.5 kB / 421.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1395, allocations: 90.36 kB / 421.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.1396, allocations: 43.5 kB / 421.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1396, allocations: 7.984 kB / 421.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1397, allocations: 34.56 kB / 422 MB, free: 8.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1397, allocations: 7.938 kB / 422 MB, free: 8.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002981/0.14, allocations: 97.5 kB / 422.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.14, allocations: 136.5 kB / 422.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1402, allocations: 143.9 kB / 422.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1402, allocations: 26.2 kB / 422.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.1403, allocations: 100 kB / 422.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.1403, allocations: 15.89 kB / 422.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.1403, allocations: 17.72 kB / 422.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1405, allocations: 318.8 kB / 422.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.1406, allocations: 15.92 kB / 422.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/0.1406, allocations: 40.3 kB / 422.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1407, allocations: 60.22 kB / 422.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1407, allocations: 0 / 422.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001603/0.1409, allocations: 89.5 kB / 423 MB, free: 7.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1409, allocations: 4 kB / 423 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1409, allocations: 7.984 kB / 423 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1409, allocations: 3.984 kB / 423 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.141, allocations: 12 kB / 423 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.141, allocations: 0 / 423 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.1411, allocations: 15.92 kB / 423 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1411, allocations: 4.125 kB / 423.1 MB, free: 6.973 MB / 350.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 9.293e-05/0.1412, allocations: 118 kB / 423.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.1413, allocations: 57.58 kB / 423.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.1413, allocations: 15.88 kB / 423.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1413, allocations: 4 kB / 423.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1413, allocations: 0 / 423.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1413, allocations: 3.938 kB / 423.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.1415, allocations: 181.6 kB / 423.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1415, allocations: 4 kB / 423.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/0.1416, allocations: 15.92 kB / 423.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1416, allocations: 8.062 kB / 423.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1416, allocations: 0 / 423.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1416, allocations: 0 / 423.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1416, allocations: 4 kB / 423.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1418, allocations: 202 kB / 423.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.1419, allocations: 93.05 kB / 423.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1419, allocations: 3.984 kB / 423.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.142, allocations: 4 kB / 423.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.142, allocations: 11.88 kB / 423.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.142, allocations: 0 / 423.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.188e-05/0.1421, allocations: 116.8 kB / 423.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1421, allocations: 0 / 423.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1424, allocations: 15.88 kB / 423.9 MB, free: 6.02 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: 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.0001204/0.1425, allocations: 103.7 kB / 424 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1426, allocations: 43.91 kB / 424 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1427, allocations: 0 / 424 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.713e-05/0.1427, allocations: 15.94 kB / 424.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.1431, allocations: 34.69 kB / 424.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.1435, allocations: 201.9 kB / 424.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1438, allocations: 0.6961 MB / 425 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.295e-05/0.1439, allocations: 7.984 kB / 425 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.1439, allocations: 15.44 kB / 425 MB, free: 4.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1439, allocations: 0 / 425 MB, free: 4.84 MB / 350.1 MB Notification: Performance of Templates: time 0.003446/0.1473, allocations: 0.7229 MB / 425.7 MB, free: 4.125 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.946612332947552]