Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009332/0.0009332, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.608/1.608, allocations: 228 MB / 247.1 MB, free: 9.555 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004247, allocations: 12.86 kB / 308 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 51.53 MB / 359.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002497/0.1284, allocations: 1.57 MB / 361.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1298, allocations: 0.6664 MB / 361.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.1299, allocations: 7.938 kB / 361.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1301, allocations: 11.88 kB / 361.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1302, allocations: 27.78 kB / 361.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1306, allocations: 103.4 kB / 362 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1308, allocations: 135.6 kB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.131, allocations: 61.7 kB / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1312, allocations: 47.72 kB / 362.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.1313, allocations: 43.66 kB / 362.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1313, allocations: 0 / 362.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.334e-05/0.1313, allocations: 12 kB / 362.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.1314, allocations: 15.92 kB / 362.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.1315, allocations: 85.17 kB / 362.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1317, allocations: 131.5 kB / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1317, allocations: 0 / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1317, allocations: 4 kB / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1317, allocations: 0 / 362.5 MB, free: 10.04 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.0007131/0.1325, allocations: 435.3 kB / 362.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1325, allocations: 8.031 kB / 362.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.1327, allocations: 28.66 kB / 362.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.133, allocations: 248.8 kB / 363.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.1331, allocations: 12.12 kB / 363.2 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1331, allocations: 12 kB / 363.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.1338, allocations: 287.2 kB / 363.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1338, allocations: 0 / 363.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.1338, allocations: 8 kB / 363.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1338, allocations: 4 kB / 363.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.1341, allocations: 87.83 kB / 363.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.1347, allocations: 431.3 kB / 364 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.1352, allocations: 322.1 kB / 364.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.1355, allocations: 112.2 kB / 364.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1355, allocations: 7.984 kB / 364.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1356, allocations: 42.5 kB / 364.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.1356, allocations: 0 / 364.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006615/0.1362, allocations: 241.3 kB / 364.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.1364, allocations: 195.8 kB / 364.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.1367, allocations: 186.2 kB / 365.1 MB, free: 7.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.1367, allocations: 29.98 kB / 365.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.1368, allocations: 104.5 kB / 365.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.1369, allocations: 23.73 kB / 365.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.1369, allocations: 17.72 kB / 365.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.1371, allocations: 326.8 kB / 365.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.034e-05/0.1372, allocations: 27.97 kB / 365.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.1374, allocations: 135.5 kB / 365.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.1377, allocations: 182.4 kB / 365.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1377, allocations: 4 kB / 365.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003366/0.1381, allocations: 181.4 kB / 366.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.1381, allocations: 4 kB / 366.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.1381, allocations: 4 kB / 366.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.1382, allocations: 8 kB / 366.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1383, allocations: 35.92 kB / 366.1 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1383, allocations: 4 kB / 366.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.1384, allocations: 19.92 kB / 366.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1385, allocations: 12.25 kB / 366.2 MB, free: 5.859 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.000155/0.1386, allocations: 137.7 kB / 366.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.139, allocations: 153.3 kB / 366.5 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.1391, allocations: 25.41 kB / 366.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1391, allocations: 0 / 366.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1391, allocations: 8.031 kB / 366.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.1391, allocations: 7.922 kB / 366.5 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.1394, allocations: 213.5 kB / 366.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1394, allocations: 0 / 366.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.1396, allocations: 43.91 kB / 366.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.1396, allocations: 8 kB / 366.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1396, allocations: 4 kB / 366.8 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1396, allocations: 4 kB / 366.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1396, allocations: 0 / 366.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.1402, allocations: 380.9 kB / 367.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1403, allocations: 116.8 kB / 367.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1403, allocations: 0 / 367.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1405, allocations: 19.98 kB / 367.3 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.1405, allocations: 3.938 kB / 367.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.1406, allocations: 4 kB / 367.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1407, allocations: 140.4 kB / 367.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1407, allocations: 0 / 367.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.141, allocations: 24 kB / 367.5 MB, free: 4.484 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.0001387/0.1412, allocations: 103.2 kB / 367.6 MB, free: 4.375 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.1415, allocations: 135.9 kB / 367.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1415, allocations: 0 / 367.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.1416, allocations: 15.98 kB / 367.7 MB, free: 4.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.1423, allocations: 105.3 kB / 367.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/0.143, allocations: 385.4 kB / 368.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.1434, allocations: 0.7244 MB / 368.9 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.1435, allocations: 21.53 kB / 368.9 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.1435, allocations: 15.44 kB / 368.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1435, allocations: 0 / 368.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of Templates: time 0.005248/0.1488, allocations: 1.607 MB / 370.5 MB, free: 1.348 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches