Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001715/0.001715, allocations: 115.4 kB / 18.45 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.002137/0.002137, 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.632/1.632, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 51.94 kB / 374.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1181, allocations: 53.33 MB / 427.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00353/0.1217, allocations: 1.882 MB / 429.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.123, allocations: 0.7013 MB / 430.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1232, allocations: 7.938 kB / 430.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1233, allocations: 23.73 kB / 430.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.1235, allocations: 31.72 kB / 430.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.1239, allocations: 107.7 kB / 430.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1241, allocations: 143.6 kB / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1243, allocations: 41.72 kB / 430.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.1244, allocations: 67.7 kB / 430.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1246, allocations: 51.7 kB / 430.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1246, allocations: 8 kB / 430.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.1246, allocations: 16 kB / 430.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.1247, allocations: 35.84 kB / 430.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.1248, allocations: 59.61 kB / 430.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.125, allocations: 159.2 kB / 430.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.125, allocations: 0 / 430.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.125, allocations: 4 kB / 430.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.125, allocations: 0 / 430.8 MB, free: 0.9609 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.0007298/0.1258, allocations: 454.8 kB / 431.3 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1258, allocations: 8.031 kB / 431.3 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.126, allocations: 24.84 kB / 431.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.1264, allocations: 260.1 kB / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1264, allocations: 16.12 kB / 431.6 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1264, allocations: 8 kB / 431.6 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.1271, allocations: 274.5 kB / 431.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1271, allocations: 7.875 kB / 431.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1271, allocations: 3.938 kB / 431.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1271, allocations: 4 kB / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1273, allocations: 79.88 kB / 431.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/0.1279, allocations: 423.4 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.1284, allocations: 286.1 kB / 432.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.1286, allocations: 108.3 kB / 432.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1286, allocations: 0 / 432.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1287, allocations: 38.56 kB / 432.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.1287, allocations: 0 / 432.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005978/0.1293, allocations: 225.2 kB / 433 MB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.1294, allocations: 191.9 kB / 433.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1296, allocations: 182.7 kB / 433.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1296, allocations: 29.7 kB / 433.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.1297, allocations: 108.1 kB / 433.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1298, allocations: 11.98 kB / 433.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.1298, allocations: 33.67 kB / 433.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.13, allocations: 330.8 kB / 433.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.1301, allocations: 20.36 kB / 433.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1302, allocations: 130.5 kB / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1304, allocations: 157.5 kB / 434.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1304, allocations: 4 kB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002919/0.1307, allocations: 169.2 kB / 434.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1308, allocations: 11.94 kB / 434.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1308, allocations: 4 kB / 434.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1308, allocations: 4.5 kB / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1309, allocations: 39.92 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.1309, allocations: 7.938 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.131, allocations: 15.94 kB / 434.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.131, allocations: 7.984 kB / 434.4 MB, free: 12.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001292/0.1312, allocations: 129.8 kB / 434.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.1315, allocations: 149.3 kB / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.1315, allocations: 25.42 kB / 434.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1315, allocations: 4 kB / 434.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1316, allocations: 0 / 434.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1316, allocations: 4 kB / 434.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.1319, allocations: 221.7 kB / 434.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1319, allocations: 7.938 kB / 434.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.132, allocations: 35.92 kB / 435 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.132, allocations: 3.938 kB / 435 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.132, allocations: 11.97 kB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.132, allocations: 0 / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.132, allocations: 4 kB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.1325, allocations: 359.8 kB / 435.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1326, allocations: 109 kB / 435.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.1326, allocations: 15.94 kB / 435.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1328, allocations: 11.98 kB / 435.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1328, allocations: 0 / 435.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1328, allocations: 8 kB / 435.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1329, allocations: 136.3 kB / 435.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1329, allocations: 0 / 435.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.1333, allocations: 24 kB / 435.6 MB, free: 11.55 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001443/0.1334, allocations: 111.2 kB / 435.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.1337, allocations: 107.7 kB / 435.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1337, allocations: 0 / 435.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.1338, allocations: 21.02 kB / 435.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/0.1344, allocations: 104 kB / 436 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.1354, allocations: 392.9 kB / 436.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.1358, allocations: 0.7241 MB / 437.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.1358, allocations: 19.44 kB / 437.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1358, allocations: 0 / 437.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Templates: time 0.004014/0.1398, allocations: 1.786 MB / 438.9 MB, free: 8.238 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.824713370995596]