Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002135/0.002135, allocations: 192.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009166/0.0009167, allocations: 104.7 kB / 299.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003136, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2598, allocations: 51.42 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001691/0.2615, allocations: 1.542 MB / 413.6 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008607/0.2624, allocations: 0.8445 MB / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2625, allocations: 4 kB / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.2627, allocations: 15.86 kB / 414.5 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.2628, allocations: 19.86 kB / 414.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.2631, allocations: 84.77 kB / 414.6 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.2633, allocations: 135.6 kB / 414.7 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2634, allocations: 65.56 kB / 414.8 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.2636, allocations: 51.72 kB / 414.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.2637, allocations: 40.31 kB / 414.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.2637, allocations: 3.938 kB / 414.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.2638, allocations: 15.97 kB / 414.9 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.2638, allocations: 15.92 kB / 414.9 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.2639, allocations: 73.31 kB / 415 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.2641, allocations: 131.5 kB / 415.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2641, allocations: 0 / 415.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2641, allocations: 0 / 415.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2641, allocations: 0 / 415.1 MB, free: 22.8 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.0005141/0.2647, allocations: 436.5 kB / 415.5 MB, free: 22.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2647, allocations: 12.03 kB / 415.5 MB, free: 22.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.2649, allocations: 28.73 kB / 415.5 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.2651, allocations: 236.9 kB / 415.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.2652, allocations: 12.12 kB / 415.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.2652, allocations: 4 kB / 415.8 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.2657, allocations: 303.4 kB / 416.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2657, allocations: 0 / 416.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2658, allocations: 8 kB / 416.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2658, allocations: 0 / 416.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.266, allocations: 87.88 kB / 416.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.2664, allocations: 435.4 kB / 416.6 MB, free: 21.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.2668, allocations: 306.1 kB / 416.9 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.267, allocations: 120.3 kB / 417 MB, free: 20.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.2671, allocations: 7.984 kB / 417 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2671, allocations: 46.44 kB / 417.1 MB, free: 20.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.2671, allocations: 0 / 417.1 MB, free: 20.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004753/0.2676, allocations: 237.5 kB / 417.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.2677, allocations: 192 kB / 417.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2678, allocations: 180.3 kB / 417.7 MB, free: 19.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.2678, allocations: 33.69 kB / 417.7 MB, free: 19.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.2679, allocations: 100.5 kB / 417.8 MB, free: 19.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.2679, allocations: 15.89 kB / 417.8 MB, free: 19.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.2679, allocations: 3.938 kB / 417.8 MB, free: 19.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.268, allocations: 326.8 kB / 418.1 MB, free: 19.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.268, allocations: 27.98 kB / 418.2 MB, free: 19.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.2681, allocations: 142.3 kB / 418.3 MB, free: 19.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.2683, allocations: 178.4 kB / 418.5 MB, free: 18.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2683, allocations: 4 kB / 418.5 MB, free: 18.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002318/0.2686, allocations: 181.1 kB / 418.7 MB, free: 18.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2686, allocations: 8 kB / 418.7 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2686, allocations: 8 kB / 418.7 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.2686, allocations: 4.531 kB / 418.7 MB, free: 18.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2688, allocations: 39.98 kB / 418.7 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2688, allocations: 7.938 kB / 418.7 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.263e-05/0.2689, allocations: 27.77 kB / 418.8 MB, free: 18.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.2689, allocations: 8 kB / 418.8 MB, free: 18.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/0.269, allocations: 138.4 kB / 418.9 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.2692, allocations: 153.4 kB / 419.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.2693, allocations: 17.41 kB / 419.1 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2693, allocations: 4 kB / 419.1 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2693, allocations: 0 / 419.1 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2693, allocations: 7.922 kB / 419.1 MB, free: 18.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.2696, allocations: 221.4 kB / 419.3 MB, free: 18.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.2696, allocations: 7.938 kB / 419.3 MB, free: 18.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2697, allocations: 43.94 kB / 419.3 MB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2697, allocations: 4 kB / 419.4 MB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2697, allocations: 8 kB / 419.4 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.2697, allocations: 0 / 419.4 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2697, allocations: 0 / 419.4 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.2701, allocations: 374.3 kB / 419.7 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.2701, allocations: 108.8 kB / 419.8 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.2702, allocations: 8 kB / 419.8 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.2703, allocations: 20 kB / 419.9 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.2704, allocations: 7.922 kB / 419.9 MB, free: 17.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.2704, allocations: 7.938 kB / 419.9 MB, free: 17.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.297e-05/0.2704, allocations: 137.7 kB / 420 MB, free: 17.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2704, allocations: 4 kB / 420 MB, free: 17.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.2707, allocations: 23.91 kB / 420 MB, free: 17.28 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 (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.0001156/0.2709, allocations: 111.2 kB / 420.1 MB, free: 17.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.2711, allocations: 120.8 kB / 420.3 MB, free: 17.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2711, allocations: 0 / 420.3 MB, free: 17.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.2712, allocations: 20 kB / 420.3 MB, free: 17.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.2718, allocations: 115.8 kB / 420.4 MB, free: 16.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.2724, allocations: 385.3 kB / 420.8 MB, free: 16.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.2725, allocations: 0.728 MB / 421.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.2726, allocations: 13.55 kB / 421.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.2726, allocations: 15.44 kB / 421.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2726, allocations: 4 kB / 421.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of Templates: time 0.003841/0.2765, allocations: 1.59 MB / 423.1 MB, free: 14.14 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches