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.002795/0.002799, allocations: 186.8 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.159/4.159, allocations: 205.4 MB / 222.6 MB, free: 13.84 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.006521/0.006521, allocations: 98.72 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1881/0.1881, allocations: 12.59 MB / 331.8 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 17.61 kB / 392 MB, free: 54.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2027, allocations: 50.37 MB / 442.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004212/0.207, allocations: 1.519 MB / 443.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2095, allocations: 0.6308 MB / 444.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.2099, allocations: 7.938 kB / 444.5 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/0.2101, allocations: 11.86 kB / 444.5 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.2105, allocations: 27.89 kB / 444.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.2114, allocations: 87.78 kB / 444.6 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.2118, allocations: 87.8 kB / 444.7 MB, free: 9.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.2121, allocations: 49.64 kB / 444.8 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.2123, allocations: 39.8 kB / 444.8 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.2125, allocations: 47.64 kB / 444.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.2125, allocations: 0 / 444.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.322e-05/0.2126, allocations: 4 kB / 444.8 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.2126, allocations: 19.92 kB / 444.9 MB, free: 9.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.2127, allocations: 45.58 kB / 444.9 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.213, allocations: 95.81 kB / 445 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2131, allocations: 0 / 445 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.2131, allocations: 0 / 445 MB, free: 8.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2131, allocations: 0 / 445 MB, free: 8.93 MB / 282.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.00114/0.2142, allocations: 431.7 kB / 445.4 MB, free: 8.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.2143, allocations: 8.031 kB / 445.4 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.2145, allocations: 19.81 kB / 445.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.215, allocations: 231.7 kB / 445.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.2151, allocations: 8.188 kB / 445.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.2151, allocations: 11.94 kB / 445.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.2164, allocations: 304 kB / 446 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.2165, allocations: 0 / 446 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.2166, allocations: 12 kB / 446 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.2166, allocations: 0 / 446 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.2173, allocations: 91.77 kB / 446.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008987/0.2182, allocations: 427.5 kB / 446.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.2194, allocations: 306.2 kB / 446.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.2195, allocations: 8.109 kB / 446.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.2195, allocations: 46.5 kB / 446.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 5.26e-06/0.2196, allocations: 0 / 446.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001462/0.2211, allocations: 241.8 kB / 447.1 MB, free: 6.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.2213, allocations: 191.9 kB / 447.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.2216, allocations: 190.8 kB / 447.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.2217, allocations: 29.7 kB / 447.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.2218, allocations: 166.8 kB / 447.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.2219, allocations: 11.91 kB / 447.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.2219, allocations: 4 kB / 447.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.2221, allocations: 318.8 kB / 448 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2223, allocations: 31.98 kB / 448 MB, free: 5.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.2225, allocations: 135.4 kB / 448.2 MB, free: 5.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.2228, allocations: 47.95 kB / 448.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.2228, allocations: 3.938 kB / 448.2 MB, free: 5.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006744/0.2235, allocations: 177.1 kB / 448.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2236, allocations: 8 kB / 448.4 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.2236, allocations: 4 kB / 448.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/0.2237, allocations: 4.531 kB / 448.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.2241, allocations: 47.92 kB / 448.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.2241, allocations: 4 kB / 448.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.2244, allocations: 15.92 kB / 448.5 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.2245, allocations: 8 kB / 448.5 MB, free: 5.066 MB / 282.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 0.0002521/0.2247, allocations: 141.5 kB / 448.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008113/0.2256, allocations: 173.6 kB / 448.8 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.2257, allocations: 17.41 kB / 448.8 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.2258, allocations: 4 kB / 448.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.2258, allocations: 0 / 448.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.2258, allocations: 7.984 kB / 448.8 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.2264, allocations: 205.6 kB / 449 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.2265, allocations: 4 kB / 449 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.2269, allocations: 51.94 kB / 449.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.227, allocations: 0 / 449.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.227, allocations: 7.953 kB / 449.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.2271, allocations: 4 kB / 449.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.2271, allocations: 4 kB / 449.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.2282, allocations: 419.8 kB / 449.5 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.2284, allocations: 116.8 kB / 449.6 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.2285, allocations: 0 / 449.6 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.229, allocations: 19.98 kB / 449.6 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.2291, allocations: 4 kB / 449.6 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.2291, allocations: 4 kB / 449.6 MB, free: 3.773 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002623/0.2294, allocations: 141.1 kB / 449.8 MB, free: 3.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.2294, allocations: 7.938 kB / 449.8 MB, free: 3.629 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008377/0.2303, allocations: 20 kB / 449.8 MB, free: 3.609 MB / 282.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 0.0001977/0.2305, allocations: 103.2 kB / 449.9 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007833/0.2314, allocations: 127.2 kB / 450 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.2314, allocations: 0 / 450 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.2315, allocations: 16 kB / 450 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.2328, allocations: 111.9 kB / 450.1 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.2344, allocations: 390.7 kB / 450.5 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.2348, allocations: 0.7319 MB / 451.3 MB, free: 2.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.235, allocations: 15.44 kB / 451.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of SimCode: time 1.713e-06/0.235, allocations: 4 kB / 451.3 MB, free: 2.055 MB / 282.7 MB Notification: Performance of Templates: time 0.007812/0.2428, allocations: 1.783 MB / 453.1 MB, free: 280 kB / 282.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/jenkins1/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