Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009343/0.0009345, allocations: 180.5 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.7 MB / 243.2 MB, free: 10.24 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007548/0.0007547, allocations: 95.44 kB / 294.4 MB, free: 9.742 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002548, allocations: 7.938 kB / 354.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2226, allocations: 50.41 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001388/0.224, allocations: 1.309 MB / 405.9 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000593/0.2246, allocations: 464.5 kB / 406.3 MB, free: 29.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.2247, allocations: 4 kB / 406.3 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.2248, allocations: 7.922 kB / 406.4 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.2249, allocations: 10.14 kB / 406.4 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.2251, allocations: 51.89 kB / 406.4 MB, free: 29.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.119e-05/0.2252, allocations: 47.8 kB / 406.5 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2253, allocations: 17.17 kB / 406.5 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.2254, allocations: 27.8 kB / 406.5 MB, free: 29.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.965e-05/0.2255, allocations: 23.17 kB / 406.5 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2255, allocations: 0 / 406.5 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.2255, allocations: 4 kB / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.2256, allocations: 15.92 kB / 406.5 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.2256, allocations: 45.52 kB / 406.6 MB, free: 29.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.34e-05/0.2257, allocations: 63.72 kB / 406.7 MB, free: 29.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2257, allocations: 0 / 406.7 MB, free: 29.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2257, allocations: 0 / 406.7 MB, free: 29.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.2257, allocations: 0 / 406.7 MB, free: 29.29 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000318/0.226, allocations: 367.3 kB / 407 MB, free: 28.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2261, allocations: 12.03 kB / 407 MB, free: 28.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.2261, allocations: 12.83 kB / 407 MB, free: 28.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.2262, allocations: 201.7 kB / 407.2 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.2263, allocations: 8.297 kB / 407.2 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2263, allocations: 15.5 kB / 407.3 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.2265, allocations: 126.7 kB / 407.4 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2266, allocations: 4 kB / 407.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2266, allocations: 0 / 407.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2266, allocations: 4 kB / 407.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.089e-05/0.2267, allocations: 27.92 kB / 407.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.2269, allocations: 295.4 kB / 407.7 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.227, allocations: 94.42 kB / 407.8 MB, free: 27.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.2271, allocations: 51.48 kB / 407.8 MB, free: 27.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2272, allocations: 0 / 407.8 MB, free: 27.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.2272, allocations: 38.5 kB / 407.9 MB, free: 27.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.2272, allocations: 0 / 407.9 MB, free: 27.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002405/0.2274, allocations: 109.4 kB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.2275, allocations: 140.5 kB / 408.1 MB, free: 27.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.2276, allocations: 145.5 kB / 408.3 MB, free: 27.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.2276, allocations: 33.7 kB / 408.3 MB, free: 27.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.2276, allocations: 92.08 kB / 408.4 MB, free: 27.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.2277, allocations: 11.89 kB / 408.4 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.2277, allocations: 0 / 408.4 MB, free: 27.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.2277, allocations: 314.8 kB / 408.7 MB, free: 26.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.2278, allocations: 15.98 kB / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.562e-05/0.2278, allocations: 48.28 kB / 408.8 MB, free: 26.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.654e-05/0.2279, allocations: 68.22 kB / 408.8 MB, free: 26.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2279, allocations: 0 / 408.8 MB, free: 26.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001228/0.228, allocations: 81.55 kB / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2281, allocations: 4 kB / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2281, allocations: 4 kB / 408.9 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2281, allocations: 128 / 408.9 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.2282, allocations: 20.16 kB / 409 MB, free: 26.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2282, allocations: 7.922 kB / 409 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.2282, allocations: 11.84 kB / 409 MB, free: 26.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2283, allocations: 4 kB / 409 MB, free: 26.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 5.711e-05/0.2283, allocations: 125.8 kB / 409.1 MB, free: 26.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.2284, allocations: 57.53 kB / 409.2 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.2284, allocations: 19.8 kB / 409.2 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2284, allocations: 4.062 kB / 409.2 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2284, allocations: 0 / 409.2 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2285, allocations: 7.938 kB / 409.2 MB, free: 26.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.2286, allocations: 173.7 kB / 409.4 MB, free: 26.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2286, allocations: 3.938 kB / 409.4 MB, free: 26.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.2287, allocations: 15.98 kB / 409.4 MB, free: 26.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2287, allocations: 0 / 409.4 MB, free: 26.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2287, allocations: 4 kB / 409.4 MB, free: 26.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2287, allocations: 0 / 409.4 MB, free: 26.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2287, allocations: 3.984 kB / 409.4 MB, free: 26.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.2288, allocations: 209.9 kB / 409.6 MB, free: 25.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.2289, allocations: 92.94 kB / 409.7 MB, free: 25.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.2289, allocations: 8 kB / 409.7 MB, free: 25.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.229, allocations: 8 kB / 409.7 MB, free: 25.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.229, allocations: 3.938 kB / 409.7 MB, free: 25.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.229, allocations: 7.984 kB / 409.7 MB, free: 25.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.666e-05/0.2291, allocations: 103.3 kB / 409.8 MB, free: 25.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2291, allocations: 0 / 409.8 MB, free: 25.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000202/0.2293, allocations: 12 kB / 409.8 MB, free: 25.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 7.767e-05/0.2294, allocations: 107.2 kB / 409.9 MB, free: 25.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.2295, allocations: 47.92 kB / 410 MB, free: 25.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2295, allocations: 0 / 410 MB, free: 25.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.2296, allocations: 15.92 kB / 410 MB, free: 25.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.23, allocations: 36.88 kB / 410 MB, free: 25.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.2303, allocations: 228.4 kB / 410.2 MB, free: 25.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.2304, allocations: 0.7053 MB / 410.9 MB, free: 24.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.2305, allocations: 0 / 410.9 MB, free: 24.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.2305, allocations: 15.44 kB / 411 MB, free: 24.47 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.2305, allocations: 0 / 411 MB, free: 24.47 MB / 298.7 MB Notification: Performance of Templates: time 0.002355/0.2329, allocations: 0.6486 MB / 411.6 MB, free: 23.83 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches