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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 101.1 kB / 17.59 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 191.6 kB / 18.52 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 47.73 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.121, allocations: 49.44 MB / 350.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003715/0.1248, allocations: 1.847 MB / 352.6 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1261, allocations: 0.6329 MB / 353.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1262, allocations: 11.88 kB / 353.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.1264, allocations: 19.73 kB / 353.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1266, allocations: 23.8 kB / 353.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.127, allocations: 103.8 kB / 353.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.1272, allocations: 135.6 kB / 353.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.1274, allocations: 57.72 kB / 353.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1275, allocations: 55.77 kB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.873e-05/0.1276, allocations: 51.66 kB / 353.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.1277, allocations: 12 kB / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.129e-05/0.1277, allocations: 8 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.1278, allocations: 31.86 kB / 353.7 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.1279, allocations: 63.59 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1281, allocations: 135.5 kB / 353.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1281, allocations: 0 / 353.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1281, allocations: 0 / 353.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1281, allocations: 4 kB / 353.9 MB, free: 1.23 MB / 286.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.0007428/0.1289, allocations: 447.2 kB / 354.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1289, allocations: 19.88 kB / 354.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.129, allocations: 20.66 kB / 354.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.1293, allocations: 237.8 kB / 354.6 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1293, allocations: 12.12 kB / 354.6 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1294, allocations: 4 kB / 354.6 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.13, allocations: 294.7 kB / 354.9 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.13, allocations: 7.984 kB / 354.9 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1301, allocations: 8 kB / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1301, allocations: 0 / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.1303, allocations: 67.89 kB / 355 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.1309, allocations: 435.4 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/0.1314, allocations: 298.1 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.1316, allocations: 116.2 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.1316, allocations: 11.98 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1316, allocations: 38.56 kB / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1317, allocations: 3.938 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.000594/0.1323, allocations: 221.6 kB / 356.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.1324, allocations: 195.9 kB / 356.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1326, allocations: 179.1 kB / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1326, allocations: 29.7 kB / 356.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.1327, allocations: 104.5 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1327, allocations: 19.8 kB / 356.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.1328, allocations: 29.72 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.133, allocations: 334.8 kB / 357 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.133, allocations: 23.98 kB / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.1332, allocations: 139.4 kB / 357.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.1335, allocations: 162.4 kB / 357.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1335, allocations: 4 kB / 357.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002955/0.1338, allocations: 185.1 kB / 357.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1338, allocations: 8 kB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1338, allocations: 4 kB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.1339, allocations: 4 kB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.134, allocations: 35.92 kB / 357.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.134, allocations: 8.516 kB / 357.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.1341, allocations: 31.72 kB / 357.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.1342, allocations: 8 kB / 357.6 MB, free: 13.09 MB / 302.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.0002585/0.1344, allocations: 133.8 kB / 357.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.1347, allocations: 145.3 kB / 357.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.1348, allocations: 21.39 kB / 357.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.1348, allocations: 4 kB / 357.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1348, allocations: 3.938 kB / 357.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1348, allocations: 11.97 kB / 357.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.1351, allocations: 213.6 kB / 358.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1352, allocations: 0 / 358.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.1353, allocations: 35.97 kB / 358.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1353, allocations: 4 kB / 358.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1353, allocations: 4 kB / 358.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.1353, allocations: 4 kB / 358.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1354, allocations: 0 / 358.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.1359, allocations: 365.2 kB / 358.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.136, allocations: 116.8 kB / 358.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.136, allocations: 4 kB / 358.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1362, allocations: 19.98 kB / 358.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1362, allocations: 3.938 kB / 358.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1362, allocations: 8 kB / 358.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1364, allocations: 137.1 kB / 358.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1364, allocations: 0 / 358.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1367, allocations: 23.94 kB / 358.8 MB, free: 11.75 MB / 302.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.0001339/0.1368, allocations: 111.1 kB / 358.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.1372, allocations: 123.7 kB / 359 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1372, allocations: 0 / 359 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.1372, allocations: 19.92 kB / 359.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.138, allocations: 104.2 kB / 359.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006558/0.1386, allocations: 357.2 kB / 359.5 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.139, allocations: 0.728 MB / 360.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.139, allocations: 15.44 kB / 360.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.139, allocations: 4 kB / 360.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Templates: time 0.003721/0.1427, allocations: 1.821 MB / 362.1 MB, free: 8.418 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches