Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.612/1.612, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 65.14 kB / 307 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1314, allocations: 50.53 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003516/0.135, allocations: 1.61 MB / 359.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1361, allocations: 0.5648 MB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.456e-05/0.1362, allocations: 7.938 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.334e-05/0.1363, allocations: 11.92 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.1365, allocations: 7.875 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.1368, allocations: 71.75 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.961e-05/0.1369, allocations: 47.86 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1371, allocations: 31.89 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1372, allocations: 23.92 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.999e-05/0.1373, allocations: 31.86 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1373, allocations: 4 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-05/0.1373, allocations: 4 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.1374, allocations: 23.84 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.1375, allocations: 31.75 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1376, allocations: 71.66 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1376, allocations: 4 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1376, allocations: 0 / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1376, allocations: 0 / 360.1 MB, free: 11.5 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005249/0.1382, allocations: 383.3 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1382, allocations: 16.02 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.1384, allocations: 16.84 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1386, allocations: 196.7 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1387, allocations: 8.359 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1387, allocations: 4.125 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.139, allocations: 138.6 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.139, allocations: 0 / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.139, allocations: 8 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.139, allocations: 0 / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.1391, allocations: 27.92 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.1396, allocations: 295.4 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1397, allocations: 94.36 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.1398, allocations: 43.48 kB / 361.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1399, allocations: 4 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1399, allocations: 34.56 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1399, allocations: 0 / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000308/0.1402, allocations: 105.4 kB / 361.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.1403, allocations: 136.5 kB / 361.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1405, allocations: 142.4 kB / 361.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1406, allocations: 29.64 kB / 361.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.1407, allocations: 96.58 kB / 361.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1407, allocations: 11.89 kB / 361.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.1407, allocations: 21.72 kB / 361.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1409, allocations: 318.8 kB / 362.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.141, allocations: 12 kB / 362.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.141, allocations: 40.28 kB / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1412, allocations: 64.22 kB / 362.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1412, allocations: 0 / 362.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001803/0.1414, allocations: 89.45 kB / 362.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1414, allocations: 10.91 kB / 362.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1414, allocations: 0 / 362.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1414, allocations: 4 kB / 362.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.1415, allocations: 11.98 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1416, allocations: 4 kB / 362.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.1416, allocations: 3.938 kB / 362.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1416, allocations: 4 kB / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001265/0.1418, allocations: 133.9 kB / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.1419, allocations: 57.59 kB / 362.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.1419, allocations: 15.83 kB / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1419, allocations: 0 / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.1419, allocations: 4 kB / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.142, allocations: 3.938 kB / 362.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.1422, allocations: 181.5 kB / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1422, allocations: 128 / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/0.1423, allocations: 27.92 kB / 362.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1423, allocations: 8 kB / 362.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1423, allocations: 4 kB / 362.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1423, allocations: 0 / 362.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1423, allocations: 0 / 362.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1426, allocations: 198 kB / 363 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/0.1426, allocations: 96.94 kB / 363.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1427, allocations: 4 kB / 363.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.1428, allocations: 7.984 kB / 363.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1428, allocations: 3.938 kB / 363.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1428, allocations: 4 kB / 363.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.742e-05/0.1429, allocations: 114.8 kB / 363.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1429, allocations: 0 / 363.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1431, allocations: 12 kB / 363.3 MB, free: 7.867 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001199/0.1433, allocations: 95.25 kB / 363.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1435, allocations: 47.91 kB / 363.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1435, allocations: 0 / 363.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.1435, allocations: 11.94 kB / 363.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.144, allocations: 28.61 kB / 363.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.1445, allocations: 213.5 kB / 363.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1449, allocations: 0.7012 MB / 364.3 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.1449, allocations: 7.984 kB / 364.4 MB, free: 6.703 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.145, allocations: 11.44 kB / 364.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.145, allocations: 0 / 364.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of Templates: time 0.003524/0.1485, allocations: 0.7067 MB / 365.1 MB, free: 5.992 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches