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.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 175.7 kB / 16.71 MB, free: 5.09 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.246/1.246, allocations: 225.7 MB / 243.2 MB, free: 10.18 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.0007655/0.0007658, allocations: 94.16 kB / 294.4 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002277, allocations: 4 kB / 354.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2227, allocations: 50.41 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001555/0.2243, allocations: 1.253 MB / 405.8 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005945/0.2249, allocations: 464.7 kB / 406.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.273e-05/0.225, allocations: 0 / 406.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.2251, allocations: 4.906 kB / 406.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.2252, allocations: 11.92 kB / 406.3 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.2255, allocations: 43.75 kB / 406.3 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.2256, allocations: 43.8 kB / 406.4 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2257, allocations: 15.97 kB / 406.4 MB, free: 29.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.2258, allocations: 19.92 kB / 406.4 MB, free: 29.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.974e-05/0.2258, allocations: 15.88 kB / 406.4 MB, free: 29.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.2259, allocations: 0 / 406.4 MB, free: 29.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.2259, allocations: 0 / 406.4 MB, free: 29.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.226, allocations: 17.19 kB / 406.5 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.226, allocations: 49.52 kB / 406.5 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2261, allocations: 47.75 kB / 406.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2262, allocations: 0.875 kB / 406.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2262, allocations: 0 / 406.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2262, allocations: 4 kB / 406.6 MB, free: 29.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004321/0.2266, allocations: 376.7 kB / 406.9 MB, free: 28.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2267, allocations: 8.031 kB / 406.9 MB, free: 28.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.2267, allocations: 12.84 kB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.2268, allocations: 185 kB / 407.1 MB, free: 28.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.2269, allocations: 8.375 kB / 407.1 MB, free: 28.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.2269, allocations: 4.312 kB / 407.1 MB, free: 28.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.2271, allocations: 121.3 kB / 407.3 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2271, allocations: 0 / 407.3 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.2271, allocations: 3.984 kB / 407.3 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2271, allocations: 0 / 407.3 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.2272, allocations: 31.92 kB / 407.3 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.2275, allocations: 265.7 kB / 407.5 MB, free: 28.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.496e-05/0.2275, allocations: 49.14 kB / 407.6 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.2276, allocations: 21.78 kB / 407.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.2276, allocations: 0 / 407.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.2276, allocations: 30.56 kB / 407.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2276, allocations: 0 / 407.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002071/0.2278, allocations: 81.73 kB / 407.7 MB, free: 28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.2279, allocations: 81.11 kB / 407.8 MB, free: 27.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.769e-05/0.228, allocations: 140.7 kB / 407.9 MB, free: 27.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.228, allocations: 25.7 kB / 408 MB, free: 27.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.228, allocations: 84.14 kB / 408 MB, free: 27.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.2281, allocations: 8 kB / 408.1 MB, free: 27.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.2281, allocations: 0 / 408.1 MB, free: 27.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.2281, allocations: 318.9 kB / 408.4 MB, free: 27.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.2282, allocations: 12 kB / 408.4 MB, free: 27.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.2282, allocations: 25.64 kB / 408.4 MB, free: 27.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.2283, allocations: 37.7 kB / 408.4 MB, free: 27.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2283, allocations: 0 / 408.4 MB, free: 27.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.629e-05/0.2284, allocations: 61.53 kB / 408.5 MB, free: 27.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2284, allocations: 8 kB / 408.5 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2284, allocations: 0 / 408.5 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2284, allocations: 0 / 408.5 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.2285, allocations: 7.984 kB / 408.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2285, allocations: 8.062 kB / 408.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.2286, allocations: 0 / 408.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2286, allocations: 4 kB / 408.5 MB, free: 27.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.123e-05/0.2286, allocations: 125.7 kB / 408.7 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.2287, allocations: 37.55 kB / 408.7 MB, free: 26.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.2287, allocations: 11.88 kB / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2287, allocations: 0 / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2287, allocations: 4 kB / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2287, allocations: 7.969 kB / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.2288, allocations: 169.6 kB / 408.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2288, allocations: 0 / 408.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.2289, allocations: 11.98 kB / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2289, allocations: 0 / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.2289, allocations: 3.938 kB / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2289, allocations: 0 / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2289, allocations: 4 kB / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.229, allocations: 164.3 kB / 409.1 MB, free: 26.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.2291, allocations: 100.9 kB / 409.2 MB, free: 26.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2291, allocations: 3.938 kB / 409.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.2292, allocations: 4 kB / 409.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.2292, allocations: 0 / 409.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2292, allocations: 4 kB / 409.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.388e-05/0.2293, allocations: 111.8 kB / 409.3 MB, free: 26.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2293, allocations: 0 / 409.3 MB, free: 26.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.2295, allocations: 4 kB / 409.3 MB, free: 26.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.075e-05/0.2296, allocations: 103.2 kB / 409.4 MB, free: 26.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.2297, allocations: 23.98 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2297, allocations: 4.125 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.2297, allocations: 19.92 kB / 409.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.2301, allocations: 19.56 kB / 409.4 MB, free: 26.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.2303, allocations: 189.5 kB / 409.6 MB, free: 25.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.2304, allocations: 0.6848 MB / 410.3 MB, free: 25.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.592e-05/0.2305, allocations: 3.984 kB / 410.3 MB, free: 25.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.2305, allocations: 19.38 kB / 410.3 MB, free: 25.15 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2305, allocations: 0 / 410.3 MB, free: 25.15 MB / 298.7 MB Notification: Performance of Templates: time 0.002168/0.2327, allocations: 483.3 kB / 410.8 MB, free: 24.68 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches