Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) 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_trunk_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_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001942/0.001942, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002738/0.002738, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 56.09 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2543, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003331/0.2577, allocations: 1.862 MB / 411.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.2591, allocations: 0.6974 MB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2592, allocations: 7.938 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.2594, allocations: 19.8 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.2595, allocations: 19.8 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.26, allocations: 111.7 kB / 412.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.2602, allocations: 143.6 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.2603, allocations: 57.7 kB / 412.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.2605, allocations: 67.7 kB / 412.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.2606, allocations: 51.72 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.2606, allocations: 11.94 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-05/0.2607, allocations: 23.98 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.2608, allocations: 31.86 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.2609, allocations: 63.55 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.2611, allocations: 139.5 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2611, allocations: 0 / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2611, allocations: 0 / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2611, allocations: 0 / 413.2 MB, free: 14.27 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.0006279/0.2617, allocations: 467.9 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2618, allocations: 11.97 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.262, allocations: 32.64 kB / 413.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.2624, allocations: 241 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.2624, allocations: 8.125 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.2624, allocations: 8 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.263, allocations: 298.4 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.263, allocations: 0 / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2631, allocations: 0 / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2631, allocations: 4 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.2633, allocations: 71.89 kB / 414.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.2638, allocations: 435.3 kB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.2642, allocations: 298.1 kB / 415.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.2645, allocations: 108.3 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.2645, allocations: 4 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.2645, allocations: 46.48 kB / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.2645, allocations: 0 / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005907/0.2651, allocations: 217.5 kB / 415.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.2653, allocations: 195.9 kB / 415.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.2655, allocations: 186.2 kB / 415.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2655, allocations: 25.7 kB / 415.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.2656, allocations: 104.5 kB / 415.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.2656, allocations: 15.81 kB / 415.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.2657, allocations: 33.7 kB / 416 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2658, allocations: 334.8 kB / 416.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.615e-05/0.2659, allocations: 23.97 kB / 416.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.266, allocations: 139.4 kB / 416.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.2662, allocations: 174.4 kB / 416.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2663, allocations: 4 kB / 416.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002975/0.2666, allocations: 177.1 kB / 416.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2666, allocations: 10.75 kB / 416.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2666, allocations: 4 kB / 416.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2666, allocations: 4 kB / 416.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2668, allocations: 43.86 kB / 416.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.2668, allocations: 12.45 kB / 416.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2669, allocations: 31.77 kB / 416.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.2669, allocations: 8 kB / 416.9 MB, free: 10.11 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.0001263/0.267, allocations: 137.7 kB / 417.1 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.2673, allocations: 141.4 kB / 417.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.2674, allocations: 21.41 kB / 417.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2674, allocations: 4 kB / 417.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2674, allocations: 4.016 kB / 417.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2674, allocations: 12.17 kB / 417.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.2677, allocations: 209.5 kB / 417.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.2677, allocations: 4 kB / 417.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2679, allocations: 39.91 kB / 417.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2679, allocations: 3.984 kB / 417.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.2679, allocations: 8 kB / 417.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2679, allocations: 4 kB / 417.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2679, allocations: 0 / 417.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.2683, allocations: 364.9 kB / 417.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.2684, allocations: 116.8 kB / 418 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.2685, allocations: 4 kB / 418 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.2686, allocations: 19.98 kB / 418 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.2687, allocations: 3.938 kB / 418 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.2687, allocations: 4 kB / 418 MB, free: 8.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.2688, allocations: 140.3 kB / 418.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2688, allocations: 0 / 418.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.2691, allocations: 27.91 kB / 418.2 MB, free: 8.75 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.0001202/0.2693, allocations: 99.25 kB / 418.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.2696, allocations: 119.8 kB / 418.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2696, allocations: 0 / 418.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.2696, allocations: 21.05 kB / 418.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.2703, allocations: 111.1 kB / 418.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.2709, allocations: 353.3 kB / 418.9 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.2713, allocations: 0.7319 MB / 419.6 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.2713, allocations: 15.44 kB / 419.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2714, allocations: 0 / 419.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of Templates: time 0.003747/0.2751, allocations: 1.853 MB / 421.5 MB, free: 5.398 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches