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.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.RealSignals.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.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.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.0009119/0.0009121, allocations: 182.7 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.348/1.348, allocations: 225.7 MB / 243.2 MB, free: 8.52 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.0008502/0.0008502, allocations: 89.61 kB / 294.4 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002918, allocations: 12 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2397, allocations: 50.42 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001377/0.2411, allocations: 1.311 MB / 405.9 MB, free: 30.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005634/0.2417, allocations: 454.5 kB / 406.3 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.014e-05/0.2418, allocations: 0 / 406.3 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.052e-05/0.2419, allocations: 7.922 kB / 406.3 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.979e-05/0.242, allocations: 8.438 kB / 406.4 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.2422, allocations: 47.39 kB / 406.4 MB, free: 29.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.567e-05/0.2423, allocations: 59.72 kB / 406.5 MB, free: 29.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.2424, allocations: 12 kB / 406.5 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/0.2425, allocations: 27.84 kB / 406.5 MB, free: 29.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.2426, allocations: 23.86 kB / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2426, allocations: 8.781 kB / 406.5 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.2426, allocations: 0 / 406.5 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.2427, allocations: 17.02 kB / 406.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.2427, allocations: 53.5 kB / 406.6 MB, free: 29.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.974e-05/0.2428, allocations: 59.72 kB / 406.7 MB, free: 29.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2428, allocations: 4.625 kB / 406.7 MB, free: 29.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2428, allocations: 0 / 406.7 MB, free: 29.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.2429, allocations: 2.562 kB / 406.7 MB, free: 29.27 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.0003723/0.2432, allocations: 389.5 kB / 407 MB, free: 28.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2433, allocations: 12.03 kB / 407.1 MB, free: 28.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.2433, allocations: 19.72 kB / 407.1 MB, free: 28.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.2435, allocations: 197.1 kB / 407.3 MB, free: 28.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2435, allocations: 4.359 kB / 407.3 MB, free: 28.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.2435, allocations: 4.375 kB / 407.3 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.2438, allocations: 132.7 kB / 407.4 MB, free: 28.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2438, allocations: 0 / 407.4 MB, free: 28.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2438, allocations: 7.984 kB / 407.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.2438, allocations: 0 / 407.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.244, allocations: 51.91 kB / 407.5 MB, free: 28.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.2443, allocations: 381.9 kB / 407.8 MB, free: 27.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.2444, allocations: 87.77 kB / 407.9 MB, free: 27.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.2445, allocations: 46.62 kB / 408 MB, free: 27.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.2445, allocations: 3.938 kB / 408 MB, free: 27.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.2446, allocations: 34.56 kB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.2446, allocations: 3.984 kB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003135/0.2449, allocations: 125.6 kB / 408.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.2449, allocations: 106.8 kB / 408.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.245, allocations: 162.1 kB / 408.4 MB, free: 27.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.245, allocations: 25.7 kB / 408.4 MB, free: 27.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.2451, allocations: 96.12 kB / 408.5 MB, free: 27.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.2451, allocations: 3.906 kB / 408.5 MB, free: 27.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.2451, allocations: 4 kB / 408.5 MB, free: 27.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.2452, allocations: 322.8 kB / 408.8 MB, free: 26.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.2452, allocations: 23.98 kB / 408.9 MB, free: 26.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.029e-05/0.2453, allocations: 51.42 kB / 408.9 MB, free: 26.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.2454, allocations: 71.34 kB / 409 MB, free: 26.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2454, allocations: 0 / 409 MB, free: 26.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001558/0.2456, allocations: 101.5 kB / 409.1 MB, free: 26.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.2456, allocations: 7.938 kB / 409.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.2456, allocations: 0 / 409.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2456, allocations: 4 kB / 409.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.2457, allocations: 15.92 kB / 409.1 MB, free: 26.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2457, allocations: 7.938 kB / 409.1 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.2458, allocations: 7.938 kB / 409.1 MB, free: 26.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2458, allocations: 7.984 kB / 409.1 MB, free: 26.51 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: 0 () * 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 5.366e-05/0.2459, allocations: 121.9 kB / 409.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.2459, allocations: 53.59 kB / 409.3 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.246, allocations: 7.875 kB / 409.3 MB, free: 26.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.246, allocations: 7.984 kB / 409.3 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.246, allocations: 0 / 409.3 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.246, allocations: 0 / 409.3 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2462, allocations: 189.5 kB / 409.5 MB, free: 26.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2462, allocations: 0 / 409.5 MB, free: 26.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.2462, allocations: 12.03 kB / 409.5 MB, free: 26.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2463, allocations: 3.938 kB / 409.5 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2463, allocations: 3.984 kB / 409.5 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2463, allocations: 4 kB / 409.5 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2463, allocations: 0 / 409.5 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.2465, allocations: 279.5 kB / 409.8 MB, free: 25.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.2465, allocations: 93 kB / 409.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2465, allocations: 0 / 409.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2467, allocations: 15.97 kB / 409.9 MB, free: 25.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.2467, allocations: 0 / 409.9 MB, free: 25.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2467, allocations: 4 kB / 409.9 MB, free: 25.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.924e-05/0.2468, allocations: 123.2 kB / 410 MB, free: 25.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2468, allocations: 0 / 410 MB, free: 25.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.247, allocations: 4 kB / 410 MB, free: 25.5 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: 0 () * 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 8.416e-05/0.2471, allocations: 103.2 kB / 410.1 MB, free: 25.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.2473, allocations: 71.95 kB / 410.2 MB, free: 25.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2473, allocations: 0 / 410.2 MB, free: 25.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.2474, allocations: 23.98 kB / 410.2 MB, free: 25.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.2478, allocations: 23.95 kB / 410.2 MB, free: 25.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.2482, allocations: 240.9 kB / 410.5 MB, free: 25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.2483, allocations: 0.6965 MB / 411.2 MB, free: 24.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.727e-05/0.2484, allocations: 15.98 kB / 411.2 MB, free: 24.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.2484, allocations: 11.44 kB / 411.2 MB, free: 24.25 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2484, allocations: 0 / 411.2 MB, free: 24.25 MB / 298.7 MB Notification: Performance of Templates: time 0.002278/0.2507, allocations: 0.6068 MB / 411.8 MB, free: 23.65 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches