Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001617/0.001617, allocations: 119.5 kB / 18.41 MB, free: 4.555 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.002052/0.002052, allocations: 188.3 kB / 21.35 MB, free: 1.621 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.491/1.491, allocations: 222.9 MB / 247.1 MB, free: 4.227 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 47.92 kB / 358.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1178, allocations: 49.44 MB / 408.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003723/0.1215, allocations: 1.859 MB / 410 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1229, allocations: 0.6195 MB / 410.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.1231, allocations: 7.938 kB / 410.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.1233, allocations: 15.8 kB / 410.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.1235, allocations: 27.73 kB / 410.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.1239, allocations: 106.6 kB / 410.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1242, allocations: 143.5 kB / 410.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.1243, allocations: 57.7 kB / 410.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1245, allocations: 59.72 kB / 411 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1246, allocations: 51.7 kB / 411 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.1246, allocations: 8 kB / 411.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.483e-05/0.1246, allocations: 12 kB / 411.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.1247, allocations: 27.91 kB / 411.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.1248, allocations: 67.55 kB / 411.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.125, allocations: 147.2 kB / 411.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1251, allocations: 0 / 411.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1251, allocations: 0 / 411.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1251, allocations: 4 kB / 411.3 MB, free: 3.664 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006759/0.1258, allocations: 450.8 kB / 411.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1258, allocations: 15.89 kB / 411.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.1259, allocations: 20.8 kB / 411.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.1262, allocations: 253 kB / 412 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1263, allocations: 12.06 kB / 412 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1263, allocations: 8 kB / 412.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.1269, allocations: 291.6 kB / 412.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.127, allocations: 0 / 412.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.127, allocations: 4 kB / 412.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.127, allocations: 0 / 412.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.1272, allocations: 75.88 kB / 412.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.1278, allocations: 423.5 kB / 412.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.1284, allocations: 302.1 kB / 413.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.1286, allocations: 116.2 kB / 413.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.1287, allocations: 4 kB / 413.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1287, allocations: 38.56 kB / 413.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 3.687e-06/0.1287, allocations: 3.984 kB / 413.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006228/0.1293, allocations: 225.2 kB / 413.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.1295, allocations: 199.9 kB / 413.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1297, allocations: 179.1 kB / 413.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.1298, allocations: 29.7 kB / 413.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.1298, allocations: 104.8 kB / 414 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1299, allocations: 27.88 kB / 414 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.13, allocations: 37.7 kB / 414.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1301, allocations: 326.8 kB / 414.4 MB, free: 236 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.1302, allocations: 23.98 kB / 414.4 MB, free: 212 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.1304, allocations: 141.3 kB / 414.5 MB, free: 16 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.1307, allocations: 162.4 kB / 414.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.1307, allocations: 4 kB / 414.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003186/0.131, allocations: 181.2 kB / 414.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1311, allocations: 8 kB / 414.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.1311, allocations: 4.531 kB / 414.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.1311, allocations: 8 kB / 414.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1313, allocations: 39.91 kB / 414.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.1313, allocations: 7.938 kB / 415 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1314, allocations: 19.83 kB / 415 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1314, allocations: 12 kB / 415 MB, free: 15.52 MB / 350.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.0001421/0.1316, allocations: 137.8 kB / 415.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.1319, allocations: 137.5 kB / 415.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.132, allocations: 25.42 kB / 415.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.132, allocations: 7.938 kB / 415.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.132, allocations: 0 / 415.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.132, allocations: 7.938 kB / 415.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.1324, allocations: 225.5 kB / 415.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1324, allocations: 0 / 415.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1325, allocations: 31.98 kB / 415.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1326, allocations: 4 kB / 415.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1326, allocations: 3.984 kB / 415.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1326, allocations: 7.938 kB / 415.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1326, allocations: 7.938 kB / 415.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.1331, allocations: 353.1 kB / 415.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.1332, allocations: 120.9 kB / 416 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.1333, allocations: 8 kB / 416 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1334, allocations: 11.98 kB / 416 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1335, allocations: 7.938 kB / 416.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1335, allocations: 8 kB / 416.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1336, allocations: 133.2 kB / 416.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1336, allocations: 0 / 416.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.134, allocations: 20 kB / 416.2 MB, free: 14.17 MB / 350.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.0001604/0.1341, allocations: 123 kB / 416.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.1345, allocations: 114.1 kB / 416.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1345, allocations: 1.062 kB / 416.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.1346, allocations: 11.98 kB / 416.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.1353, allocations: 113.7 kB / 416.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.1361, allocations: 341.1 kB / 416.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.1365, allocations: 0.728 MB / 417.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.1365, allocations: 23.42 kB / 417.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1366, allocations: 0 / 417.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Templates: time 0.00428/0.1408, allocations: 1.837 MB / 419.5 MB, free: 10.83 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.362404439947568]