Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001625/0.001625, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001769/0.001769, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.31 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1283, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00427/0.1326, allocations: 1.866 MB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1344, allocations: 0.6935 MB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1346, allocations: 7.938 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.1348, allocations: 19.73 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.135, allocations: 27.78 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.1355, allocations: 115.1 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1358, allocations: 147.6 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.136, allocations: 65.69 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.1362, allocations: 59.72 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1363, allocations: 51.66 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.1364, allocations: 12 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.441e-05/0.1364, allocations: 16 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.1365, allocations: 35.83 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.1366, allocations: 63.55 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.1369, allocations: 143.5 kB / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1369, allocations: 0 / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1369, allocations: 0 / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.1369, allocations: 4 kB / 362.2 MB, free: 9.98 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.0007453/0.1377, allocations: 454.8 kB / 362.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1378, allocations: 15.97 kB / 362.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.138, allocations: 24.73 kB / 362.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.1385, allocations: 248.8 kB / 362.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.1386, allocations: 12.12 kB / 363 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1386, allocations: 12 kB / 363 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.1392, allocations: 279.7 kB / 363.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1392, allocations: 0 / 363.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1392, allocations: 8 kB / 363.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1393, allocations: 0 / 363.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.1395, allocations: 71.88 kB / 363.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.1401, allocations: 431.3 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.1406, allocations: 290.1 kB / 364 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.1408, allocations: 120.3 kB / 364.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.1409, allocations: 3.984 kB / 364.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1409, allocations: 42.5 kB / 364.2 MB, free: 7.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.1409, allocations: 0 / 364.2 MB, free: 7.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005761/0.1415, allocations: 221.2 kB / 364.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.1416, allocations: 192.1 kB / 364.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1418, allocations: 182.3 kB / 364.8 MB, free: 7.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1418, allocations: 25.7 kB / 364.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.1419, allocations: 104.5 kB / 364.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.142, allocations: 15.91 kB / 364.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.142, allocations: 33.7 kB / 364.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1422, allocations: 326.8 kB / 365.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.1422, allocations: 19.98 kB / 365.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1424, allocations: 145.1 kB / 365.4 MB, free: 6.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.1426, allocations: 153.6 kB / 365.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.1426, allocations: 4 kB / 365.6 MB, free: 6.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000274/0.1429, allocations: 161.2 kB / 365.7 MB, free: 6.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1429, allocations: 11.94 kB / 365.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1429, allocations: 4 kB / 365.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.1429, allocations: 7.984 kB / 365.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1431, allocations: 43.84 kB / 365.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1431, allocations: 4.5 kB / 365.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1432, allocations: 19.84 kB / 365.8 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1433, allocations: 8 kB / 365.8 MB, free: 5.906 MB / 302.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.0001376/0.1434, allocations: 145.6 kB / 366 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.1437, allocations: 141.7 kB / 366.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.1438, allocations: 21.39 kB / 366.1 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.1438, allocations: 4 kB / 366.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1438, allocations: 4.031 kB / 366.1 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1438, allocations: 4.094 kB / 366.1 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.1441, allocations: 221.4 kB / 366.4 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1442, allocations: 4 kB / 366.4 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1443, allocations: 35.91 kB / 366.4 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.1443, allocations: 7.938 kB / 366.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1443, allocations: 8 kB / 366.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1443, allocations: 0 / 366.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1444, allocations: 0 / 366.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.1448, allocations: 357 kB / 366.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.1449, allocations: 112.8 kB / 366.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.145, allocations: 11.94 kB / 366.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.1451, allocations: 15.98 kB / 366.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.1452, allocations: 0 / 366.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1452, allocations: 8 kB / 366.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1453, allocations: 140.3 kB / 367 MB, free: 4.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1453, allocations: 0 / 367 MB, free: 4.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003441/0.1457, allocations: 20 kB / 367.1 MB, free: 4.562 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: 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.000156/0.1458, allocations: 103.2 kB / 367.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.1462, allocations: 119.8 kB / 367.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1462, allocations: 0 / 367.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.094e-05/0.1462, allocations: 12 kB / 367.3 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007154/0.147, allocations: 104 kB / 367.4 MB, free: 4.227 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000881/0.1479, allocations: 367.4 kB / 367.8 MB, free: 3.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1482, allocations: 0.7241 MB / 368.5 MB, free: 3.078 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.375e-05/0.1483, allocations: 13.55 kB / 368.5 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.1483, allocations: 23.42 kB / 368.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of SimCode: time 2.435e-06/0.1483, allocations: 0 / 368.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of Templates: time 0.004699/0.153, allocations: 1.673 MB / 370.2 MB, free: 1.391 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches