Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002335/0.002335, allocations: 179.2 kB / 16.77 MB, free: 4.906 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007561/0.0007561, allocations: 91.84 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06571/0.06571, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.000427, allocations: 19.98 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07545/0.07589, allocations: 50.36 MB / 443 MB, free: 16.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001647/0.07758, allocations: 1.52 MB / 444.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.07836, allocations: 0.6325 MB / 445.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.07849, allocations: 4 kB / 445.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.07861, allocations: 11.86 kB / 445.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.07871, allocations: 19.86 kB / 445.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.079, allocations: 83.8 kB / 445.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.07915, allocations: 131.5 kB / 445.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.07931, allocations: 61.67 kB / 445.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.972e-05/0.07939, allocations: 39.8 kB / 445.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.07948, allocations: 43.72 kB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.0795, allocations: 4 kB / 445.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.07953, allocations: 0 / 445.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.0796, allocations: 27.84 kB / 445.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.07966, allocations: 69.39 kB / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.472e-05/0.07976, allocations: 88.09 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.07977, allocations: 0 / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.07977, allocations: 0 / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.07978, allocations: 0 / 445.7 MB, free: 13.38 MB / 298.7 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.0004467/0.08023, allocations: 435 kB / 446.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.08027, allocations: 12.03 kB / 446.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.08032, allocations: 20.66 kB / 446.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.08053, allocations: 244.8 kB / 446.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.08055, allocations: 8.125 kB / 446.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.08057, allocations: 8 kB / 446.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.08105, allocations: 311.9 kB / 446.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.08107, allocations: 0 / 446.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.08109, allocations: 0 / 446.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.0811, allocations: 4 kB / 446.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.08129, allocations: 91.88 kB / 446.8 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.08163, allocations: 427.3 kB / 447.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.08199, allocations: 314.1 kB / 447.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.08215, allocations: 116.2 kB / 447.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.08218, allocations: 8 kB / 447.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.0822, allocations: 34.5 kB / 447.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.08221, allocations: 0 / 447.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.000475/0.08269, allocations: 245.5 kB / 447.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.08276, allocations: 192 kB / 448.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.08289, allocations: 182.9 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.08291, allocations: 29.7 kB / 448.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.08295, allocations: 104.5 kB / 448.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.08297, allocations: 15.83 kB / 448.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.08298, allocations: 8 kB / 448.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.08303, allocations: 318.8 kB / 448.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.0831, allocations: 31.98 kB / 448.8 MB, free: 9.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/0.0832, allocations: 151.3 kB / 448.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.08335, allocations: 170.4 kB / 449.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.08336, allocations: 0 / 449.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002481/0.08361, allocations: 177.1 kB / 449.3 MB, free: 9.332 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.08364, allocations: 8.625 kB / 449.3 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.08365, allocations: 7.938 kB / 449.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.08367, allocations: 4.531 kB / 449.3 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.0838, allocations: 47.91 kB / 449.3 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.08382, allocations: 11.94 kB / 449.3 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.933e-05/0.08391, allocations: 15.84 kB / 449.4 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.08393, allocations: 12 kB / 449.4 MB, free: 9.227 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/0.08402, allocations: 141.5 kB / 449.5 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.08426, allocations: 153.4 kB / 449.7 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.08431, allocations: 25.39 kB / 449.7 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.08432, allocations: 4 kB / 449.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.08433, allocations: 0 / 449.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.08434, allocations: 3.938 kB / 449.7 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.08454, allocations: 217.5 kB / 449.9 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.08455, allocations: 0 / 449.9 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.08468, allocations: 44.02 kB / 449.9 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.08469, allocations: 7.984 kB / 449.9 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.08471, allocations: 0 / 449.9 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.08471, allocations: 4 kB / 450 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.08472, allocations: 7.875 kB / 450 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.08503, allocations: 374.7 kB / 450.3 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.08509, allocations: 108.8 kB / 450.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.08512, allocations: 11.98 kB / 450.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.08526, allocations: 12 kB / 450.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.08531, allocations: 11.92 kB / 450.5 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.08532, allocations: 8 kB / 450.5 MB, free: 8.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.256e-05/0.0854, allocations: 133.1 kB / 450.6 MB, free: 7.875 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08541, allocations: 3.938 kB / 450.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002921/0.0857, allocations: 28 kB / 450.6 MB, free: 7.844 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.759e-05/0.08579, allocations: 95.23 kB / 450.7 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.08603, allocations: 124.8 kB / 450.9 MB, free: 7.621 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.08604, allocations: 0 / 450.9 MB, free: 7.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.076e-05/0.08608, allocations: 20.11 kB / 450.9 MB, free: 7.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.08671, allocations: 116 kB / 451 MB, free: 7.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.08721, allocations: 398.4 kB / 451.4 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.08736, allocations: 0.7202 MB / 452.1 MB, free: 6.309 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.08741, allocations: 23.42 kB / 452.1 MB, free: 6.289 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.08742, allocations: 0 / 452.1 MB, free: 6.289 MB / 298.7 MB Notification: Performance of Templates: time 0.002669/0.09009, allocations: 1.813 MB / 453.9 MB, free: 4.473 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2 --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches