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.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008554/0.0008555, allocations: 184 kB / 16.71 MB, free: 4.961 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.296/1.296, allocations: 225.7 MB / 243.2 MB, free: 8.5 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.0008176/0.0008176, allocations: 97.36 kB / 294.4 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002909, allocations: 4 kB / 354.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2295, allocations: 50.43 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001393/0.231, allocations: 1.253 MB / 405.8 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005613/0.2316, allocations: 432.8 kB / 406.3 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.2316, allocations: 0 / 406.3 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.2317, allocations: 9.703 kB / 406.3 MB, free: 29.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.2318, allocations: 11.92 kB / 406.3 MB, free: 29.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.2321, allocations: 39.91 kB / 406.3 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.483e-05/0.2321, allocations: 43.84 kB / 406.4 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2323, allocations: 17.12 kB / 406.4 MB, free: 29.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.2323, allocations: 16.45 kB / 406.4 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.2324, allocations: 24.84 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.2324, allocations: 4 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.2324, allocations: 0.5312 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.2325, allocations: 4 kB / 406.4 MB, free: 29.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.2325, allocations: 54.12 kB / 406.5 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.211e-05/0.2326, allocations: 51.73 kB / 406.5 MB, free: 29.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2326, allocations: 7.406 kB / 406.5 MB, free: 29.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2326, allocations: 0 / 406.5 MB, free: 29.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.2327, allocations: 0 / 406.5 MB, free: 29.4 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.0003415/0.233, allocations: 360.8 kB / 406.9 MB, free: 29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.233, allocations: 12.03 kB / 406.9 MB, free: 28.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.2331, allocations: 8.844 kB / 406.9 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.2332, allocations: 200.4 kB / 407.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.2332, allocations: 4.375 kB / 407.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2333, allocations: 4.312 kB / 407.1 MB, free: 28.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.2335, allocations: 113.3 kB / 407.2 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2335, allocations: 0 / 407.2 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.2335, allocations: 1.219 kB / 407.2 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2336, allocations: 3.938 kB / 407.2 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.2336, allocations: 24.86 kB / 407.3 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.2339, allocations: 265.6 kB / 407.5 MB, free: 28.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.644e-05/0.2339, allocations: 49.2 kB / 407.6 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.234, allocations: 25.78 kB / 407.6 MB, free: 28.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.234, allocations: 11.91 kB / 407.6 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.234, allocations: 30.56 kB / 407.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2341, allocations: 0 / 407.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002089/0.2343, allocations: 77.73 kB / 407.7 MB, free: 28.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.2343, allocations: 77.11 kB / 407.8 MB, free: 27.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.075e-05/0.2344, allocations: 141.8 kB / 407.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.2344, allocations: 29.7 kB / 407.9 MB, free: 27.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.2344, allocations: 88.12 kB / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.2345, allocations: 0 / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.2345, allocations: 0 / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.2345, allocations: 318.8 kB / 408.3 MB, free: 27.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/0.2346, allocations: 12.02 kB / 408.4 MB, free: 27.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.2346, allocations: 17.72 kB / 408.4 MB, free: 27.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.2347, allocations: 45.64 kB / 408.4 MB, free: 27.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2347, allocations: 0 / 408.4 MB, free: 27.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001003/0.2348, allocations: 57.59 kB / 408.5 MB, free: 27.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2348, allocations: 4 kB / 408.5 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2348, allocations: 7.984 kB / 408.5 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2348, allocations: 0 / 408.5 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.2349, allocations: 7.938 kB / 408.5 MB, free: 27.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2349, allocations: 0 / 408.5 MB, free: 27.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.235, allocations: 8.062 kB / 408.5 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.235, allocations: 0 / 408.5 MB, free: 27.18 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.789e-05/0.235, allocations: 129.7 kB / 408.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.2351, allocations: 37.61 kB / 408.7 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.2351, allocations: 11.86 kB / 408.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2351, allocations: 0 / 408.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2351, allocations: 3.938 kB / 408.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2351, allocations: 4 kB / 408.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2353, allocations: 173.6 kB / 408.9 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2353, allocations: 0 / 408.9 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.2353, allocations: 4 kB / 408.9 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2353, allocations: 8 kB / 408.9 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.2353, allocations: 3.938 kB / 408.9 MB, free: 26.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2354, allocations: 0 / 408.9 MB, free: 26.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2354, allocations: 0 / 408.9 MB, free: 26.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.2355, allocations: 168.3 kB / 409 MB, free: 26.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.2355, allocations: 96.88 kB / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2355, allocations: 0 / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.38e-05/0.2356, allocations: 4 kB / 409.1 MB, free: 26.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.2357, allocations: 7.984 kB / 409.1 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.2357, allocations: 4 kB / 409.1 MB, free: 26.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.487e-05/0.2357, allocations: 107.3 kB / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2357, allocations: 0 / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.2359, allocations: 4 kB / 409.3 MB, free: 26.32 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.447e-05/0.236, allocations: 103.2 kB / 409.4 MB, free: 26.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.2361, allocations: 27.97 kB / 409.4 MB, free: 26.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2361, allocations: 4 kB / 409.4 MB, free: 26.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.2362, allocations: 8.125 kB / 409.4 MB, free: 26.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.2365, allocations: 27.73 kB / 409.4 MB, free: 26.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.2368, allocations: 197.5 kB / 409.6 MB, free: 25.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.2369, allocations: 0.6848 MB / 410.3 MB, free: 25.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.773e-05/0.237, allocations: 7.938 kB / 410.3 MB, free: 25.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.237, allocations: 7.438 kB / 410.3 MB, free: 25.2 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.237, allocations: 0 / 410.3 MB, free: 25.2 MB / 298.7 MB Notification: Performance of Templates: time 0.002156/0.2392, allocations: 476.6 kB / 410.8 MB, free: 24.73 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches