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.002297/0.002297, allocations: 121 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002759/0.002759, allocations: 212.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001952, allocations: 59.28 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1263, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003395/0.1297, allocations: 1.859 MB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1312, allocations: 0.6974 MB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1313, allocations: 7.938 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.1315, allocations: 19.8 kB / 361.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.1316, allocations: 23.8 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.132, allocations: 111.7 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1322, allocations: 147.5 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1324, allocations: 65.7 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1326, allocations: 51.78 kB / 361.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1327, allocations: 67.56 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.1327, allocations: 12 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.335e-05/0.1328, allocations: 12 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.1328, allocations: 23.92 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.1329, allocations: 67.55 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1331, allocations: 139.5 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1331, allocations: 4 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1331, allocations: 0 / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1331, allocations: 3.938 kB / 362.2 MB, free: 10.02 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.0006386/0.1338, allocations: 458.7 kB / 362.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1338, allocations: 12.02 kB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.134, allocations: 24.75 kB / 362.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.1344, allocations: 256.8 kB / 362.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1344, allocations: 12.12 kB / 363 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1345, allocations: 12 kB / 363 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.135, allocations: 286.6 kB / 363.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.135, allocations: 0 / 363.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1351, allocations: 0 / 363.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1351, allocations: 4 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.1353, allocations: 75.89 kB / 363.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.1358, allocations: 431.3 kB / 363.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.1362, allocations: 290.1 kB / 364 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.1364, allocations: 116.4 kB / 364.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.1364, allocations: 7.984 kB / 364.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.1365, allocations: 42.5 kB / 364.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.1365, allocations: 4 kB / 364.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005424/0.137, allocations: 213.5 kB / 364.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1372, allocations: 200 kB / 364.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1374, allocations: 194.6 kB / 364.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1374, allocations: 25.7 kB / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.1375, allocations: 104.5 kB / 364.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1375, allocations: 19.83 kB / 364.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.1375, allocations: 29.72 kB / 365 MB, free: 6.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1377, allocations: 330.8 kB / 365.3 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.1378, allocations: 23.98 kB / 365.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1379, allocations: 139.4 kB / 365.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1381, allocations: 170.4 kB / 365.6 MB, free: 6.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1381, allocations: 4 kB / 365.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002653/0.1384, allocations: 173.5 kB / 365.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1384, allocations: 12.09 kB / 365.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1384, allocations: 11.88 kB / 365.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1385, allocations: 4 kB / 365.8 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1386, allocations: 35.92 kB / 365.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1386, allocations: 7.984 kB / 365.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.711e-05/0.1387, allocations: 19.84 kB / 365.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1387, allocations: 8 kB / 365.9 MB, free: 5.875 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.0001084/0.1389, allocations: 141.7 kB / 366 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.1391, allocations: 149.6 kB / 366.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.1392, allocations: 25.39 kB / 366.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1392, allocations: 4 kB / 366.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1392, allocations: 4 kB / 366.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1392, allocations: 3.938 kB / 366.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.1395, allocations: 213.5 kB / 366.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1395, allocations: 0 / 366.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.1397, allocations: 39.91 kB / 366.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1397, allocations: 8.031 kB / 366.5 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1397, allocations: 4 kB / 366.5 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1397, allocations: 4 kB / 366.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1397, allocations: 3.938 kB / 366.5 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1401, allocations: 364.9 kB / 366.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-05/0.1402, allocations: 116.8 kB / 366.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.1402, allocations: 4 kB / 367 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1404, allocations: 15.98 kB / 367 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.1404, allocations: 7.938 kB / 367 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.1404, allocations: 4 kB / 367 MB, free: 4.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1405, allocations: 140.3 kB / 367.1 MB, free: 4.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1406, allocations: 4 kB / 367.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000322/0.1409, allocations: 20 kB / 367.1 MB, free: 4.516 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.0001166/0.141, allocations: 99.25 kB / 367.2 MB, free: 4.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.1413, allocations: 124.6 kB / 367.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1413, allocations: 8.125 kB / 367.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.1414, allocations: 11.98 kB / 367.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.142, allocations: 114 kB / 367.5 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.1426, allocations: 326.6 kB / 367.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1429, allocations: 0.7318 MB / 368.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.842e-05/0.143, allocations: 13.55 kB / 368.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.143, allocations: 19.44 kB / 368.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of SimCode: time 1.954e-06/0.143, allocations: 4 kB / 368.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of Templates: time 0.004653/0.1477, allocations: 1.733 MB / 370.3 MB, free: 1.305 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/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