Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001257, allocations: 194.3 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 226.6 MB / 244.3 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009132/0.0009134, allocations: 92.25 kB / 296.4 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002461, allocations: 8 kB / 356.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2469, allocations: 51.3 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002176/0.2491, allocations: 1.526 MB / 409 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2503, allocations: 0.6303 MB / 409.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.2504, allocations: 7.938 kB / 409.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.2505, allocations: 11.86 kB / 409.7 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2507, allocations: 23.84 kB / 409.7 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.2511, allocations: 76.44 kB / 409.8 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.2513, allocations: 129.9 kB / 409.9 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.2514, allocations: 49.45 kB / 409.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2516, allocations: 44.62 kB / 410 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.2517, allocations: 39.72 kB / 410 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.2517, allocations: 4.75 kB / 410 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.325e-05/0.2518, allocations: 4 kB / 410 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.2518, allocations: 24.72 kB / 410.1 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.2519, allocations: 45.64 kB / 410.1 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.252, allocations: 104.9 kB / 410.2 MB, free: 25.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2521, allocations: 0 / 410.2 MB, free: 25.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2521, allocations: 0 / 410.2 MB, free: 25.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2521, allocations: 0 / 410.2 MB, free: 25.11 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.0005552/0.2526, allocations: 432.4 kB / 410.6 MB, free: 24.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2527, allocations: 8.031 kB / 410.6 MB, free: 24.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.2529, allocations: 27.8 kB / 410.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.2532, allocations: 235.7 kB / 410.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.2532, allocations: 8.125 kB / 410.9 MB, free: 24.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2532, allocations: 17.36 kB / 410.9 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.2539, allocations: 296.2 kB / 411.2 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.254, allocations: 0 / 411.2 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.254, allocations: 3.938 kB / 411.2 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.254, allocations: 4 kB / 411.2 MB, free: 23.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.2543, allocations: 87.88 kB / 411.3 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.2548, allocations: 435.3 kB / 411.7 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.2553, allocations: 310.1 kB / 412 MB, free: 23.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.2556, allocations: 116.3 kB / 412.1 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.2556, allocations: 3.984 kB / 412.2 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.2557, allocations: 42.48 kB / 412.2 MB, free: 22.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.2557, allocations: 0 / 412.2 MB, free: 22.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007266/0.2564, allocations: 231.2 kB / 412.4 MB, free: 22.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.2565, allocations: 208.2 kB / 412.6 MB, free: 22.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.2567, allocations: 184.5 kB / 412.8 MB, free: 22.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.2567, allocations: 29.7 kB / 412.8 MB, free: 22.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.2568, allocations: 100.4 kB / 412.9 MB, free: 22.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.2568, allocations: 15.89 kB / 412.9 MB, free: 22.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.2568, allocations: 4 kB / 412.9 MB, free: 22.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.2569, allocations: 322.8 kB / 413.3 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.257, allocations: 31.98 kB / 413.3 MB, free: 21.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2571, allocations: 140.2 kB / 413.4 MB, free: 21.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.2572, allocations: 51.98 kB / 413.5 MB, free: 21.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2573, allocations: 0 / 413.5 MB, free: 21.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003596/0.2576, allocations: 185.1 kB / 413.7 MB, free: 21.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2577, allocations: 8 kB / 413.7 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2577, allocations: 11.95 kB / 413.7 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2577, allocations: 4 kB / 413.7 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.2579, allocations: 40.45 kB / 413.7 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2579, allocations: 12 kB / 413.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.2581, allocations: 15.92 kB / 413.8 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.2581, allocations: 12 kB / 413.8 MB, free: 21.16 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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.2582, allocations: 129.8 kB / 413.9 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/0.2586, allocations: 157.3 kB / 414 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.2587, allocations: 21.41 kB / 414.1 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.2587, allocations: 7.891 kB / 414.1 MB, free: 20.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2587, allocations: 7.984 kB / 414.1 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2587, allocations: 0 / 414.1 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.259, allocations: 221.4 kB / 414.3 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.259, allocations: 0 / 414.3 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.2592, allocations: 43.91 kB / 414.3 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2593, allocations: 8.031 kB / 414.4 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2593, allocations: 0 / 414.4 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.2593, allocations: 4 kB / 414.4 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2593, allocations: 3.953 kB / 414.4 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.2598, allocations: 379.8 kB / 414.7 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.2599, allocations: 112.8 kB / 414.8 MB, free: 19.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.2599, allocations: 8 kB / 414.8 MB, free: 19.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.2601, allocations: 15.98 kB / 414.9 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.2602, allocations: 7.953 kB / 414.9 MB, free: 19.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.2602, allocations: 8 kB / 414.9 MB, free: 19.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.2603, allocations: 128.1 kB / 415 MB, free: 19.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2603, allocations: 0 / 415 MB, free: 19.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005333/0.2609, allocations: 28 kB / 415 MB, free: 19.78 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 (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 (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.0001121/0.261, allocations: 99.19 kB / 415.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.2614, allocations: 127.8 kB / 415.3 MB, free: 19.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2614, allocations: 1.062 kB / 415.3 MB, free: 19.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.2615, allocations: 16.06 kB / 415.3 MB, free: 19.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/0.2624, allocations: 115.1 kB / 415.4 MB, free: 19.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/0.2631, allocations: 390.9 kB / 415.8 MB, free: 19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.2634, allocations: 0.7319 MB / 416.5 MB, free: 18.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.2634, allocations: 15.44 kB / 416.5 MB, free: 18.23 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2634, allocations: 0 / 416.5 MB, free: 18.23 MB / 298.7 MB Notification: Performance of Templates: time 0.003789/0.2672, allocations: 1.815 MB / 418.3 MB, free: 16.43 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches