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.0008464/0.0008464, allocations: 91.61 kB / 16.65 MB, free: 6.348 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.0009298/0.0009299, allocations: 179.8 kB / 17.57 MB, free: 5.949 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.387/1.387, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 4 kB / 301.4 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 50.41 MB / 351.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002557/0.1301, allocations: 1.553 MB / 353.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1315, allocations: 0.6041 MB / 354 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.1318, allocations: 7.938 kB / 354 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.132, allocations: 23.8 kB / 354 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1322, allocations: 19.84 kB / 354 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.1327, allocations: 91.84 kB / 354.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.133, allocations: 127.6 kB / 354.3 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1332, allocations: 49.72 kB / 354.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1333, allocations: 47.7 kB / 354.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1335, allocations: 35.73 kB / 354.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1335, allocations: 4 kB / 354.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.741e-05/0.1335, allocations: 7.938 kB / 354.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.1336, allocations: 23.8 kB / 354.4 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.1337, allocations: 81.3 kB / 354.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1338, allocations: 127.5 kB / 354.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1339, allocations: 4 kB / 354.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1339, allocations: 0 / 354.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1339, allocations: 0 / 354.6 MB, free: 0.6367 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.0005891/0.1345, allocations: 431.3 kB / 355.1 MB, free: 172 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1345, allocations: 12.02 kB / 355.1 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.1346, allocations: 16.75 kB / 355.1 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1349, allocations: 241.7 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1349, allocations: 8.125 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1349, allocations: 8 kB / 355.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.1356, allocations: 295 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1356, allocations: 3.938 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1356, allocations: 7.938 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1356, allocations: 4 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.1359, allocations: 83.89 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.1364, allocations: 435.4 kB / 356.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.137, allocations: 306 kB / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.1372, allocations: 120.4 kB / 356.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1372, allocations: 7.922 kB / 356.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1372, allocations: 42.56 kB / 356.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.1373, allocations: 0 / 356.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005951/0.1379, allocations: 237.3 kB / 356.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.138, allocations: 195.9 kB / 357 MB, free: 13.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1382, allocations: 179.4 kB / 357.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1382, allocations: 37.7 kB / 357.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.1383, allocations: 100.5 kB / 357.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.1383, allocations: 15.89 kB / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.1384, allocations: 21.72 kB / 357.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1385, allocations: 322.8 kB / 357.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.1386, allocations: 31.92 kB / 357.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1387, allocations: 139.4 kB / 357.9 MB, free: 13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.139, allocations: 182.4 kB / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.139, allocations: 0 / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003202/0.1393, allocations: 181.3 kB / 358.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1394, allocations: 8 kB / 358.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1394, allocations: 4 kB / 358.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1394, allocations: 4.188 kB / 358.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1396, allocations: 35.92 kB / 358.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.1396, allocations: 8 kB / 358.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1397, allocations: 28.11 kB / 358.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.1397, allocations: 12 kB / 358.3 MB, free: 12.48 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.0001421/0.1399, allocations: 141.7 kB / 358.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.1402, allocations: 153.8 kB / 358.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.1403, allocations: 21.41 kB / 358.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.1403, allocations: 8.031 kB / 358.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1403, allocations: 0 / 358.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.1403, allocations: 11.92 kB / 358.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.1406, allocations: 209.5 kB / 358.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1406, allocations: 4 kB / 358.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.1408, allocations: 43.91 kB / 358.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1408, allocations: 4 kB / 358.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1408, allocations: 4 kB / 358.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1408, allocations: 0 / 358.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1408, allocations: 0 / 358.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.1413, allocations: 383.8 kB / 359.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1414, allocations: 116.8 kB / 359.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.1414, allocations: 0 / 359.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1416, allocations: 16 kB / 359.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.1417, allocations: 7.922 kB / 359.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1417, allocations: 8 kB / 359.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1418, allocations: 137.2 kB / 359.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.1418, allocations: 0 / 359.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.1421, allocations: 23.94 kB / 359.6 MB, free: 11.11 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.0001416/0.1423, allocations: 111.1 kB / 359.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.1426, allocations: 127.9 kB / 359.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1426, allocations: 0 / 359.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.12e-05/0.1427, allocations: 12 kB / 359.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.1434, allocations: 121.1 kB / 359.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.1441, allocations: 377.2 kB / 360.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1445, allocations: 0.728 MB / 361 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.671e-05/0.1445, allocations: 13.73 kB / 361.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.1446, allocations: 15.44 kB / 361.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1446, allocations: 0 / 361.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of Templates: time 0.006219/0.1508, allocations: 1.598 MB / 362.7 MB, free: 7.973 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/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