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.001318/0.001318, allocations: 115.8 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.001368/0.001368, allocations: 199.5 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.448/1.448, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 66.14 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004078/0.1329, allocations: 1.859 MB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1345, allocations: 0.6935 MB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1346, allocations: 7.938 kB / 361.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.1349, allocations: 19.73 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.135, allocations: 31.78 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.1355, allocations: 115 kB / 361.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.1357, allocations: 143.5 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.1359, allocations: 61.7 kB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1361, allocations: 63.7 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.1362, allocations: 51.66 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.1362, allocations: 8 kB / 361.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.399e-05/0.1363, allocations: 16 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.1364, allocations: 27.91 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.1364, allocations: 63.55 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.1367, allocations: 155.4 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1367, allocations: 4 kB / 362.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1367, allocations: 0 / 362.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1367, allocations: 0 / 362.2 MB, free: 9.996 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.0007898/0.1375, allocations: 454.8 kB / 362.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1376, allocations: 8.031 kB / 362.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.1378, allocations: 28.73 kB / 362.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.1383, allocations: 256.7 kB / 362.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.1384, allocations: 12.12 kB / 363 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1384, allocations: 12 kB / 363 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.139, allocations: 278.7 kB / 363.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.139, allocations: 0 / 363.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1391, allocations: 4 kB / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1391, allocations: 4 kB / 363.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.1393, allocations: 79.81 kB / 363.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.1399, allocations: 423.4 kB / 363.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.1403, allocations: 294.1 kB / 364 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1406, allocations: 112.2 kB / 364.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1406, allocations: 4 kB / 364.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1406, allocations: 42.55 kB / 364.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.1406, allocations: 4 kB / 364.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005915/0.1412, allocations: 217.2 kB / 364.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.1414, allocations: 191.9 kB / 364.6 MB, free: 7.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1416, allocations: 186.7 kB / 364.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1416, allocations: 29.7 kB / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.1417, allocations: 100.5 kB / 364.9 MB, free: 6.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.1417, allocations: 15.89 kB / 364.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.1418, allocations: 33.7 kB / 364.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.142, allocations: 322.8 kB / 365.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.642e-05/0.142, allocations: 27.92 kB / 365.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1422, allocations: 130.5 kB / 365.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.1424, allocations: 157.5 kB / 365.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1424, allocations: 0 / 365.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002513/0.1427, allocations: 165.2 kB / 365.7 MB, free: 6.023 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1427, allocations: 11.94 kB / 365.7 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.1427, allocations: 4.5 kB / 365.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.1427, allocations: 8 kB / 365.7 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1429, allocations: 31.92 kB / 365.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1429, allocations: 11.92 kB / 365.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.143, allocations: 23.83 kB / 365.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.143, allocations: 8 kB / 365.8 MB, free: 5.926 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.0001308/0.1432, allocations: 141.7 kB / 366 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.1435, allocations: 145.3 kB / 366.1 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.1435, allocations: 25.44 kB / 366.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1435, allocations: 0 / 366.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1435, allocations: 4 kB / 366.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1435, allocations: 3.984 kB / 366.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.1438, allocations: 221.5 kB / 366.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1439, allocations: 4 kB / 366.4 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.144, allocations: 35.97 kB / 366.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.144, allocations: 7.938 kB / 366.4 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.144, allocations: 4 kB / 366.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.1441, allocations: 7.938 kB / 366.4 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1441, allocations: 4 kB / 366.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.1446, allocations: 349.1 kB / 366.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.1449, allocations: 112.8 kB / 366.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.1449, allocations: 15.92 kB / 366.9 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1451, allocations: 4 kB / 366.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.1452, allocations: 11.92 kB / 366.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1452, allocations: 8 kB / 366.9 MB, free: 4.734 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1454, allocations: 140.3 kB / 367 MB, free: 4.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1454, allocations: 0 / 367 MB, free: 4.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.1457, allocations: 20 kB / 367.1 MB, free: 4.578 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.0002166/0.146, allocations: 99.58 kB / 367.2 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.1463, allocations: 115.7 kB / 367.3 MB, free: 4.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1464, allocations: 1 kB / 367.3 MB, free: 4.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.327e-05/0.1464, allocations: 19.98 kB / 367.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.1472, allocations: 106.8 kB / 367.4 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1483, allocations: 363.4 kB / 367.7 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.1488, allocations: 0.7241 MB / 368.5 MB, free: 3.094 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.878e-05/0.1489, allocations: 17.55 kB / 368.5 MB, free: 3.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.149, allocations: 19.44 kB / 368.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.149, allocations: 0 / 368.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of Templates: time 0.006072/0.1551, allocations: 1.673 MB / 370.2 MB, free: 1.41 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 cvode -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