Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007633/0.0007633, allocations: 103.1 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002762, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2661, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001753/0.2679, allocations: 1.538 MB / 413.6 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.2689, allocations: 0.8381 MB / 414.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.269, allocations: 4.969 kB / 414.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.2692, allocations: 11.86 kB / 414.5 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.2693, allocations: 24.66 kB / 414.5 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.2696, allocations: 91.78 kB / 414.6 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2698, allocations: 133.3 kB / 414.7 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2699, allocations: 56.56 kB / 414.8 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.27, allocations: 51.66 kB / 414.8 MB, free: 23.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.2701, allocations: 46.12 kB / 414.9 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2701, allocations: 7.938 kB / 414.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.926e-05/0.2702, allocations: 4 kB / 414.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.2702, allocations: 19.92 kB / 414.9 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.2703, allocations: 77.31 kB / 415 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.2704, allocations: 123.5 kB / 415.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2704, allocations: 0 / 415.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2705, allocations: 4 kB / 415.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.2705, allocations: 4 kB / 415.1 MB, free: 22.82 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.0004479/0.2709, allocations: 440.5 kB / 415.5 MB, free: 22.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.271, allocations: 8.031 kB / 415.5 MB, free: 22.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.2711, allocations: 28.73 kB / 415.6 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.2713, allocations: 236.9 kB / 415.8 MB, free: 22.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2714, allocations: 12.12 kB / 415.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.2714, allocations: 12 kB / 415.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.2719, allocations: 288 kB / 416.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2719, allocations: 0 / 416.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2719, allocations: 4 kB / 416.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2719, allocations: 8 kB / 416.1 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.2721, allocations: 83.86 kB / 416.2 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.2725, allocations: 435.3 kB / 416.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.2728, allocations: 310.1 kB / 416.9 MB, free: 20.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.273, allocations: 112.4 kB / 417 MB, free: 20.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2731, allocations: 7.984 kB / 417 MB, free: 20.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2731, allocations: 46.5 kB / 417.1 MB, free: 20.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.2731, allocations: 0 / 417.1 MB, free: 20.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004684/0.2736, allocations: 241.2 kB / 417.3 MB, free: 20.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.2736, allocations: 191.9 kB / 417.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.2737, allocations: 172.3 kB / 417.7 MB, free: 19.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2738, allocations: 33.98 kB / 417.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.2738, allocations: 100.1 kB / 417.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.2738, allocations: 15.89 kB / 417.8 MB, free: 19.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2738, allocations: 4 kB / 417.8 MB, free: 19.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.2739, allocations: 322.8 kB / 418.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.274, allocations: 27.92 kB / 418.2 MB, free: 19.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.2741, allocations: 134.5 kB / 418.3 MB, free: 19.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.2742, allocations: 161.6 kB / 418.4 MB, free: 19.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2742, allocations: 4 kB / 418.4 MB, free: 19.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002067/0.2744, allocations: 173.5 kB / 418.6 MB, free: 18.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2744, allocations: 15.97 kB / 418.6 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2745, allocations: 4 kB / 418.6 MB, free: 18.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2745, allocations: 4 kB / 418.6 MB, free: 18.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2746, allocations: 39.92 kB / 418.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2746, allocations: 4 kB / 418.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.2747, allocations: 23.83 kB / 418.7 MB, free: 18.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.2747, allocations: 8 kB / 418.7 MB, free: 18.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.203e-05/0.2748, allocations: 141.7 kB / 418.9 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.275, allocations: 149.3 kB / 419 MB, free: 18.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.2751, allocations: 17.41 kB / 419 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2751, allocations: 4 kB / 419 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2751, allocations: 3.938 kB / 419 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2751, allocations: 4 kB / 419 MB, free: 18.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.2753, allocations: 221.5 kB / 419.2 MB, free: 18.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2753, allocations: 480 / 419.2 MB, free: 18.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2754, allocations: 39.97 kB / 419.3 MB, free: 18.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2754, allocations: 7.938 kB / 419.3 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2755, allocations: 4 kB / 419.3 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.2755, allocations: 0 / 419.3 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2755, allocations: 3.938 kB / 419.3 MB, free: 18.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.2758, allocations: 373 kB / 419.7 MB, free: 17.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.2758, allocations: 112.8 kB / 419.8 MB, free: 17.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.2759, allocations: 3.938 kB / 419.8 MB, free: 17.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.276, allocations: 19.98 kB / 419.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.276, allocations: 0 / 419.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.2761, allocations: 11.98 kB / 419.8 MB, free: 17.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.453e-05/0.2761, allocations: 133.7 kB / 419.9 MB, free: 17.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2761, allocations: 0 / 419.9 MB, free: 17.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.2764, allocations: 24 kB / 420 MB, free: 17.38 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 9.529e-05/0.2765, allocations: 115.4 kB / 420.1 MB, free: 17.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.2768, allocations: 116.6 kB / 420.2 MB, free: 17.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2768, allocations: 0 / 420.2 MB, free: 17.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/0.2768, allocations: 15.98 kB / 420.2 MB, free: 17.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.2774, allocations: 111.8 kB / 420.3 MB, free: 17.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.2781, allocations: 437.3 kB / 420.7 MB, free: 16.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.2783, allocations: 0.728 MB / 421.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.081e-05/0.2784, allocations: 13.55 kB / 421.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.2784, allocations: 19.44 kB / 421.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2784, allocations: 0 / 421.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003482/0.2819, allocations: 1.536 MB / 423 MB, free: 14.25 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches