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.IntegerSignals.SampleVectorizedAndClocked.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 183.1 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.307/1.307, allocations: 225.7 MB / 243.2 MB, free: 8.516 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.0007457/0.0007461, allocations: 94.16 kB / 294.4 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002572, allocations: 7.938 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2041, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001262/0.2054, allocations: 1.238 MB / 405.8 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002706/0.2057, allocations: 142.3 kB / 406 MB, free: 29.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.2058, allocations: 0 / 406 MB, free: 29.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.406e-05/0.2058, allocations: 3.938 kB / 406 MB, free: 29.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.2059, allocations: 7.938 kB / 406 MB, free: 29.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.2061, allocations: 39.89 kB / 406 MB, free: 29.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.2062, allocations: 35.92 kB / 406 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.2063, allocations: 18.62 kB / 406.1 MB, free: 29.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.2063, allocations: 15.92 kB / 406.1 MB, free: 29.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.321e-05/0.2063, allocations: 7.938 kB / 406.1 MB, free: 29.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.2064, allocations: 0 / 406.1 MB, free: 29.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.2064, allocations: 4 kB / 406.1 MB, free: 29.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.2064, allocations: 20.92 kB / 406.1 MB, free: 29.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.2065, allocations: 53.44 kB / 406.2 MB, free: 29.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.102e-05/0.2065, allocations: 48.42 kB / 406.2 MB, free: 29.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2066, allocations: 0 / 406.2 MB, free: 29.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2066, allocations: 0.625 kB / 406.2 MB, free: 29.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.2066, allocations: 4 kB / 406.2 MB, free: 29.7 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003163/0.2069, allocations: 376 kB / 406.6 MB, free: 29.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.2069, allocations: 8.031 kB / 406.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.207, allocations: 9.469 kB / 406.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2071, allocations: 201 kB / 406.8 MB, free: 29.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.2071, allocations: 8.375 kB / 406.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.2071, allocations: 4.375 kB / 406.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.2074, allocations: 122.6 kB / 406.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2074, allocations: 192 / 406.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.2074, allocations: 3.938 kB / 406.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.2074, allocations: 7.984 kB / 406.9 MB, free: 28.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.2075, allocations: 47.25 kB / 407 MB, free: 28.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.2078, allocations: 366 kB / 407.3 MB, free: 28.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.2079, allocations: 95.7 kB / 407.4 MB, free: 28.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.208, allocations: 46.56 kB / 407.5 MB, free: 28.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.208, allocations: 3.984 kB / 407.5 MB, free: 28.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.208, allocations: 30.56 kB / 407.5 MB, free: 28.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2081, allocations: 4 kB / 407.5 MB, free: 28.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000271/0.2083, allocations: 117.5 kB / 407.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2084, allocations: 119.1 kB / 407.7 MB, free: 27.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/0.2085, allocations: 140.1 kB / 407.9 MB, free: 27.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-06/0.2085, allocations: 25.7 kB / 407.9 MB, free: 27.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/0.2085, allocations: 88.12 kB / 408 MB, free: 27.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.2085, allocations: 11.91 kB / 408 MB, free: 27.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.2085, allocations: 0 / 408 MB, free: 27.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.654e-05/0.2086, allocations: 310.8 kB / 408.3 MB, free: 27.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.2086, allocations: 27.98 kB / 408.3 MB, free: 27.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.2087, allocations: 43.41 kB / 408.4 MB, free: 27.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.2088, allocations: 71.34 kB / 408.4 MB, free: 27.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2088, allocations: 3.938 kB / 408.5 MB, free: 27.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001363/0.2089, allocations: 89.52 kB / 408.5 MB, free: 27.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.209, allocations: 4 kB / 408.5 MB, free: 27.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.209, allocations: 7.938 kB / 408.6 MB, free: 27.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.209, allocations: 3.938 kB / 408.6 MB, free: 27.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.2091, allocations: 19.92 kB / 408.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.2091, allocations: 0 / 408.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.2091, allocations: 12.05 kB / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.2091, allocations: 8 kB / 408.6 MB, free: 27.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.534e-05/0.2092, allocations: 121.8 kB / 408.7 MB, free: 26.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.2093, allocations: 53.59 kB / 408.8 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.2093, allocations: 7.875 kB / 408.8 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.2093, allocations: 7.984 kB / 408.8 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2093, allocations: 0 / 408.8 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2093, allocations: 4 kB / 408.8 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.2095, allocations: 173.6 kB / 409 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2095, allocations: 4.031 kB / 409 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.2095, allocations: 15.92 kB / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2096, allocations: 0 / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.2096, allocations: 4 kB / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2096, allocations: 4 kB / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2096, allocations: 0 / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.2097, allocations: 279.5 kB / 409.3 MB, free: 26.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.2098, allocations: 93 kB / 409.3 MB, free: 26.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.2098, allocations: 4 kB / 409.3 MB, free: 26.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.2099, allocations: 7.984 kB / 409.4 MB, free: 26.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.2099, allocations: 7.938 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.21, allocations: 4 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.432e-05/0.21, allocations: 110.9 kB / 409.5 MB, free: 26.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.21, allocations: 0 / 409.5 MB, free: 26.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000221/0.2102, allocations: 8 kB / 409.5 MB, free: 26.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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 6.476e-05/0.2103, allocations: 103.2 kB / 409.6 MB, free: 25.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.2105, allocations: 59.91 kB / 409.6 MB, free: 25.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2105, allocations: 0 / 409.6 MB, free: 25.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.2105, allocations: 15.98 kB / 409.7 MB, free: 25.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.2109, allocations: 36.31 kB / 409.7 MB, free: 25.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.2112, allocations: 210.5 kB / 409.9 MB, free: 25.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.765e-05/0.2113, allocations: 0.6887 MB / 410.6 MB, free: 24.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.2113, allocations: 15.98 kB / 410.6 MB, free: 24.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.2113, allocations: 7.438 kB / 410.6 MB, free: 24.83 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2113, allocations: 0 / 410.6 MB, free: 24.83 MB / 298.7 MB Notification: Performance of Templates: time 0.001956/0.2133, allocations: 0.5519 MB / 411.2 MB, free: 24.28 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches