Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 103.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 55.53 kB / 306.9 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1301, allocations: 50.53 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004155/0.1343, allocations: 1.863 MB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1362, allocations: 0.6974 MB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1365, allocations: 7.938 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.1367, allocations: 19.78 kB / 360.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1369, allocations: 31.73 kB / 360.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.1375, allocations: 107.6 kB / 360.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.1377, allocations: 147.5 kB / 360.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.1379, allocations: 65.69 kB / 360.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.1381, allocations: 59.72 kB / 360.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1382, allocations: 59.64 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1383, allocations: 8 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.1384, allocations: 16 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.1384, allocations: 27.92 kB / 360.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.386e-05/0.1385, allocations: 67.53 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.1388, allocations: 135.5 kB / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1388, allocations: 4 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1388, allocations: 0 / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1388, allocations: 0 / 360.8 MB, free: 10.8 MB / 302.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.000741/0.1396, allocations: 467 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.1396, allocations: 12.03 kB / 361.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.1399, allocations: 20.75 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1402, allocations: 240 kB / 361.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1402, allocations: 8.125 kB / 361.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1403, allocations: 12 kB / 361.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.141, allocations: 286.6 kB / 361.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.141, allocations: 0 / 361.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1411, allocations: 4 kB / 361.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1411, allocations: 7.938 kB / 361.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.1413, allocations: 71.89 kB / 361.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.1421, allocations: 439.3 kB / 362.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.1426, allocations: 290.1 kB / 362.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.1428, allocations: 116.3 kB / 362.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.1428, allocations: 4 kB / 362.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1428, allocations: 42.56 kB / 362.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 3.486e-06/0.1429, allocations: 0 / 362.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005911/0.1435, allocations: 221.1 kB / 363 MB, free: 8.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.1436, allocations: 200.3 kB / 363.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1438, allocations: 178.2 kB / 363.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.1438, allocations: 33.7 kB / 363.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.1439, allocations: 104.5 kB / 363.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1439, allocations: 19.83 kB / 363.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.144, allocations: 33.7 kB / 363.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1442, allocations: 326.8 kB / 363.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.1442, allocations: 23.98 kB / 363.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.1445, allocations: 142.3 kB / 364 MB, free: 7.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.1447, allocations: 174.4 kB / 364.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1447, allocations: 0 / 364.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003389/0.1451, allocations: 173.3 kB / 364.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1451, allocations: 8 kB / 364.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1451, allocations: 4 kB / 364.3 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1452, allocations: 4 kB / 364.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1453, allocations: 39.91 kB / 364.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.1453, allocations: 7.938 kB / 364.4 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1454, allocations: 23.84 kB / 364.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.1455, allocations: 8.375 kB / 364.4 MB, free: 6.672 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.0001574/0.1456, allocations: 149.6 kB / 364.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.1459, allocations: 141.3 kB / 364.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.146, allocations: 29.39 kB / 364.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.146, allocations: 0 / 364.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.146, allocations: 7.938 kB / 364.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.146, allocations: 3.938 kB / 364.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.1463, allocations: 217.5 kB / 365 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1464, allocations: 4.031 kB / 365 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.1465, allocations: 35.98 kB / 365 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1465, allocations: 0 / 365 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.1465, allocations: 11.98 kB / 365 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1466, allocations: 3.938 kB / 365 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1466, allocations: 4 kB / 365 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.147, allocations: 361.5 kB / 365.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.1471, allocations: 108.8 kB / 365.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1472, allocations: 4 kB / 365.5 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1473, allocations: 11.98 kB / 365.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.1474, allocations: 15.88 kB / 365.5 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1474, allocations: 7.984 kB / 365.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1475, allocations: 136.3 kB / 365.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1475, allocations: 0 / 365.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.1479, allocations: 20 kB / 365.7 MB, free: 5.316 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.0001472/0.1481, allocations: 107.2 kB / 365.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004095/0.1485, allocations: 131.8 kB / 365.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1485, allocations: 0 / 365.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.644e-05/0.1485, allocations: 8 kB / 365.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007735/0.1493, allocations: 116.9 kB / 366 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/0.1501, allocations: 343.4 kB / 366.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1504, allocations: 0.7279 MB / 367.1 MB, free: 3.828 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.904e-05/0.1505, allocations: 13.56 kB / 367.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.1506, allocations: 23.36 kB / 367.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1506, allocations: 0 / 367.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of Templates: time 0.005791/0.1564, allocations: 1.73 MB / 368.9 MB, free: 2.09 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches