Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 100.5 kB / 16.45 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 186.4 kB / 17.38 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.1 MB / 223.3 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08647/0.08647, allocations: 12.59 MB / 283.2 MB, free: 15.41 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 87.86 kB / 394.2 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1238, allocations: 49.41 MB / 443.6 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004112/0.128, allocations: 1.836 MB / 445.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.13, allocations: 0.6789 MB / 446.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.1305, allocations: 7.938 kB / 446.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1308, allocations: 19.8 kB / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.131, allocations: 27.78 kB / 446.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.1317, allocations: 95.72 kB / 446.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.132, allocations: 143.5 kB / 446.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.1323, allocations: 69.39 kB / 446.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1325, allocations: 59.72 kB / 446.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1326, allocations: 55.69 kB / 446.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.1327, allocations: 8 kB / 446.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.815e-05/0.1327, allocations: 12 kB / 446.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.1328, allocations: 31.86 kB / 446.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1329, allocations: 63.61 kB / 446.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.1333, allocations: 139.4 kB / 446.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.1333, allocations: 3.938 kB / 446.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1333, allocations: 0 / 446.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1333, allocations: 0 / 446.8 MB, free: 13.21 MB / 334.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.000818/0.1341, allocations: 443 kB / 447.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1342, allocations: 12.03 kB / 447.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.1343, allocations: 32.64 kB / 447.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.1347, allocations: 240.9 kB / 447.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.1348, allocations: 12.12 kB / 447.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1348, allocations: 8 kB / 447.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/0.1354, allocations: 290.3 kB / 447.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1355, allocations: 0 / 447.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1355, allocations: 4 kB / 447.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1355, allocations: 4 kB / 447.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.1357, allocations: 79.77 kB / 447.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.1363, allocations: 427.5 kB / 448.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.1368, allocations: 294 kB / 448.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.137, allocations: 104.4 kB / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.1371, allocations: 11.98 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.1371, allocations: 50.48 kB / 448.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.1371, allocations: 0 / 448.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006053/0.1377, allocations: 213.2 kB / 449 MB, free: 10.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.1379, allocations: 208.6 kB / 449.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1381, allocations: 183.1 kB / 449.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1382, allocations: 29.7 kB / 449.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.1383, allocations: 100.5 kB / 449.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1383, allocations: 11.91 kB / 449.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-05/0.1384, allocations: 41.61 kB / 449.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.1387, allocations: 322.8 kB / 449.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.1388, allocations: 31.98 kB / 449.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1389, allocations: 131.4 kB / 450 MB, free: 9.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.1392, allocations: 174.4 kB / 450.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.1392, allocations: 4 kB / 450.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003582/0.1396, allocations: 181.3 kB / 450.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1396, allocations: 4 kB / 450.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1396, allocations: 4 kB / 450.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.1397, allocations: 8 kB / 450.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1398, allocations: 39.92 kB / 450.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1398, allocations: 4 kB / 450.4 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.14, allocations: 19.86 kB / 450.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.14, allocations: 12 kB / 450.5 MB, free: 9.09 MB / 334.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 (hold.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.0001576/0.1402, allocations: 134.1 kB / 450.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.1405, allocations: 153.3 kB / 450.8 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.1405, allocations: 17.41 kB / 450.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.1405, allocations: 4 kB / 450.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1406, allocations: 0 / 450.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.1406, allocations: 11.92 kB / 450.8 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.1409, allocations: 213.4 kB / 451 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.1409, allocations: 4.031 kB / 451 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1411, allocations: 47.91 kB / 451 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1411, allocations: 0 / 451 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1411, allocations: 4 kB / 451.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1411, allocations: 4 kB / 451.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.1411, allocations: 0 / 451.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.1415, allocations: 368.9 kB / 451.4 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.1416, allocations: 108.9 kB / 451.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.1417, allocations: 8 kB / 451.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1418, allocations: 11.98 kB / 451.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1419, allocations: 3.938 kB / 451.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1419, allocations: 16 kB / 451.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.142, allocations: 133.1 kB / 451.7 MB, free: 7.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.142, allocations: 0 / 451.7 MB, free: 7.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.1423, allocations: 27.94 kB / 451.7 MB, free: 7.734 MB / 334.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 (hold.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.000126/0.1425, allocations: 99.19 kB / 451.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.1428, allocations: 128.2 kB / 451.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1428, allocations: 0 / 451.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.1429, allocations: 8 kB / 451.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.1435, allocations: 116.3 kB / 452.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007119/0.1442, allocations: 312.2 kB / 452.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1446, allocations: 0.728 MB / 453.1 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.1447, allocations: 13.56 kB / 453.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.1447, allocations: 19.42 kB / 453.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1448, allocations: 0 / 453.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of Templates: time 0.005418/0.1502, allocations: 1.746 MB / 454.9 MB, free: 4.508 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches