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.008474/0.008475, allocations: 91.95 kB / 15.91 MB, free: 6.273 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.001365/0.001365, allocations: 194.2 kB / 16.83 MB, free: 6.188 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.686/1.686, allocations: 205.1 MB / 222.7 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07667/0.07667, allocations: 12.59 MB / 282.6 MB, free: 8.852 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.001925/0.001924, allocations: 79.89 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.119, allocations: 49.4 MB / 392.2 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.005279/0.1243, allocations: 1.91 MB / 394.1 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1263, allocations: 0.6517 MB / 394.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.1267, allocations: 11.94 kB / 394.8 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.127, allocations: 15.86 kB / 394.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1272, allocations: 15.86 kB / 394.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.1278, allocations: 83.86 kB / 394.9 MB, free: 1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.1281, allocations: 127.6 kB / 395 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.1284, allocations: 69.67 kB / 395.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1285, allocations: 43.73 kB / 395.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1287, allocations: 59.64 kB / 395.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.1287, allocations: 4 kB / 395.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.971e-05/0.1288, allocations: 4 kB / 395.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.983e-05/0.1289, allocations: 23.91 kB / 395.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.129, allocations: 63.55 kB / 395.3 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1292, allocations: 127.7 kB / 395.4 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1292, allocations: 0 / 395.4 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1293, allocations: 0 / 395.4 MB, free: 500 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1293, allocations: 0 / 395.4 MB, free: 500 kB / 286.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.0009244/0.1302, allocations: 450.9 kB / 395.8 MB, free: 0 / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.817e-05/0.1303, allocations: 8.078 kB / 395.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.313e-05/0.1304, allocations: 16.75 kB / 395.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.1308, allocations: 252.7 kB / 396.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.1308, allocations: 16.12 kB / 396.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1309, allocations: 8 kB / 396.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.1318, allocations: 288.1 kB / 396.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1318, allocations: 0 / 396.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.1318, allocations: 4 kB / 396.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1318, allocations: 4 kB / 396.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.1321, allocations: 71.83 kB / 396.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007603/0.1329, allocations: 427.5 kB / 396.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007408/0.1337, allocations: 294 kB / 397.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.134, allocations: 116.3 kB / 397.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.134, allocations: 7.984 kB / 397.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/0.1341, allocations: 42.44 kB / 397.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/0.1341, allocations: 0 / 397.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007753/0.1349, allocations: 221.3 kB / 397.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.1351, allocations: 191.9 kB / 397.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.1353, allocations: 182.9 kB / 397.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.1353, allocations: 29.7 kB / 398 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.1355, allocations: 112.8 kB / 398.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.1355, allocations: 19.83 kB / 398.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.1356, allocations: 37.7 kB / 398.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1358, allocations: 326.8 kB / 398.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.1359, allocations: 27.92 kB / 398.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.1361, allocations: 139.4 kB / 398.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.1365, allocations: 174.4 kB / 398.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1365, allocations: 0 / 398.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004123/0.1369, allocations: 177.1 kB / 399 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.1369, allocations: 8 kB / 399 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.137, allocations: 4.531 kB / 399 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.137, allocations: 8 kB / 399 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.1372, allocations: 35.92 kB / 399 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.1372, allocations: 8 kB / 399 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.1374, allocations: 19.83 kB / 399 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.1374, allocations: 12 kB / 399 MB, free: 12.36 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 (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.0001954/0.1376, allocations: 133.7 kB / 399.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/0.1381, allocations: 141.4 kB / 399.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.1381, allocations: 29.44 kB / 399.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1382, allocations: 0 / 399.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.1382, allocations: 7.984 kB / 399.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1382, allocations: 3.938 kB / 399.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.1387, allocations: 217.4 kB / 399.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.1387, allocations: 7.938 kB / 399.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.1389, allocations: 43.84 kB / 399.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.139, allocations: 4 kB / 399.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.139, allocations: 8 kB / 399.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.139, allocations: 0 / 399.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.139, allocations: 4 kB / 399.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.1395, allocations: 362.1 kB / 400 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1397, allocations: 112.9 kB / 400.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.1397, allocations: 4 kB / 400.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.1399, allocations: 11.98 kB / 400.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.14, allocations: 7.938 kB / 400.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.14, allocations: 4 kB / 400.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1401, allocations: 137.1 kB / 400.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1402, allocations: 0 / 400.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005267/0.1407, allocations: 27.91 kB / 400.3 MB, free: 11.01 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 (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.000138/0.1408, allocations: 103.2 kB / 400.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.1413, allocations: 115.8 kB / 400.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1413, allocations: 1.062 kB / 400.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.1414, allocations: 8 kB / 400.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.1425, allocations: 117 kB / 400.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.1435, allocations: 372.1 kB / 401 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.144, allocations: 0.728 MB / 401.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.933e-05/0.1441, allocations: 13.55 kB / 401.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.1441, allocations: 15.44 kB / 401.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1441, allocations: 4 kB / 401.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of Templates: time 0.006536/0.1507, allocations: 1.611 MB / 403.4 MB, free: 7.867 MB / 302.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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches