Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001496, allocations: 114.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 211.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 227.7 MB / 247.9 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.89 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2587, allocations: 50.54 MB / 410.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003342/0.262, allocations: 1.868 MB / 412.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.2633, allocations: 0.7012 MB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.2635, allocations: 4 kB / 412.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.2636, allocations: 19.73 kB / 412.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.2637, allocations: 27.8 kB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.2642, allocations: 115.7 kB / 413 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.2644, allocations: 139.6 kB / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.2645, allocations: 45.69 kB / 413.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.2647, allocations: 63.72 kB / 413.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.2648, allocations: 51.7 kB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.2648, allocations: 11.94 kB / 413.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.576e-05/0.2649, allocations: 20 kB / 413.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.265, allocations: 35.84 kB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.265, allocations: 63.55 kB / 413.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.2653, allocations: 151.2 kB / 413.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2653, allocations: 0 / 413.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2653, allocations: 0 / 413.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2653, allocations: 0 / 413.5 MB, free: 14.1 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.0006376/0.2659, allocations: 458.8 kB / 414 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2659, allocations: 8.031 kB / 414 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.2661, allocations: 28.83 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.2665, allocations: 260.9 kB / 414.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2665, allocations: 8.125 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2665, allocations: 8 kB / 414.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.2671, allocations: 280.2 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2671, allocations: 4 kB / 414.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.2671, allocations: 0 / 414.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2671, allocations: 4 kB / 414.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.2674, allocations: 79.88 kB / 414.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.2679, allocations: 435.4 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.2684, allocations: 286.1 kB / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.2686, allocations: 104.3 kB / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.2686, allocations: 4 kB / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.2687, allocations: 38.56 kB / 415.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.2687, allocations: 4 kB / 415.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005778/0.2693, allocations: 225.5 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.2694, allocations: 192.2 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.2696, allocations: 194.2 kB / 416.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2696, allocations: 25.7 kB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.2697, allocations: 100.5 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.2697, allocations: 19.88 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.2698, allocations: 41.66 kB / 416.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2699, allocations: 322.8 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.27, allocations: 31.92 kB / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.2702, allocations: 142 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.2704, allocations: 170.4 kB / 416.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.2704, allocations: 4 kB / 416.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002924/0.2707, allocations: 177.6 kB / 417.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2707, allocations: 8 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2707, allocations: 4 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2707, allocations: 7.938 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.2708, allocations: 35.92 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2709, allocations: 7.938 kB / 417.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.271, allocations: 23.88 kB / 417.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.271, allocations: 8 kB / 417.2 MB, free: 9.965 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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.2711, allocations: 138.1 kB / 417.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.2714, allocations: 145.5 kB / 417.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.2714, allocations: 25.34 kB / 417.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2715, allocations: 4 kB / 417.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2715, allocations: 4 kB / 417.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.2715, allocations: 7.922 kB / 417.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.2718, allocations: 217.5 kB / 417.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2718, allocations: 0 / 417.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.2719, allocations: 44 kB / 417.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.2719, allocations: 4 kB / 417.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2719, allocations: 0 / 417.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.2719, allocations: 4 kB / 417.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2719, allocations: 3.938 kB / 417.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.2724, allocations: 368.3 kB / 418.1 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.2725, allocations: 116.9 kB / 418.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.2725, allocations: 4 kB / 418.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.2726, allocations: 11.98 kB / 418.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.2727, allocations: 7.938 kB / 418.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2727, allocations: 8 kB / 418.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.2728, allocations: 136.3 kB / 418.4 MB, free: 8.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2728, allocations: 4 kB / 418.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.2731, allocations: 24 kB / 418.4 MB, free: 8.602 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 (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 (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.0001138/0.2732, allocations: 103.2 kB / 418.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.2735, allocations: 120.6 kB / 418.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2735, allocations: 0 / 418.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-05/0.2736, allocations: 8 kB / 418.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.2742, allocations: 115.7 kB / 418.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.2748, allocations: 319.7 kB / 419.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.2752, allocations: 0.728 MB / 419.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.961e-05/0.2753, allocations: 17.55 kB / 419.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.2753, allocations: 15.44 kB / 419.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2753, allocations: 0 / 419.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of Templates: time 0.00489/0.2802, allocations: 1.77 MB / 421.6 MB, free: 5.379 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches