Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008684/0.0008684, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008724/0.0008724, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8857/0.8857, allocations: 173.4 MB / 200.5 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.631e-05, allocations: 6.219 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002154/0.00218, allocations: 1.586 MB / 320 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.00295, allocations: 474.8 kB / 320.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.187e-05/0.003042, allocations: 3.938 kB / 320.5 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.805e-05/0.00314, allocations: 7.875 kB / 320.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.00325, allocations: 19.8 kB / 320.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.003481, allocations: 47.77 kB / 320.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.003597, allocations: 71.7 kB / 320.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003698, allocations: 15.98 kB / 320.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.003775, allocations: 27.97 kB / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.003831, allocations: 27.89 kB / 320.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.003854, allocations: 4 kB / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.003864, allocations: 4 kB / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.003928, allocations: 15.92 kB / 320.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.003961, allocations: 15.94 kB / 320.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.004073, allocations: 67.72 kB / 320.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004075, allocations: 0 / 320.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.004077, allocations: 3.938 kB / 320.8 MB, free: 3.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.004081, allocations: 4 kB / 320.8 MB, free: 3.945 MB / 282.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.0004064/0.004487, allocations: 321.9 kB / 321.1 MB, free: 3.602 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.004528, allocations: 12.92 kB / 321.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.004558, allocations: 34.75 kB / 321.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.004585, allocations: 16.83 kB / 321.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.004792, allocations: 139.5 kB / 321.3 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.004804, allocations: 4.375 kB / 321.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.004816, allocations: 4.375 kB / 321.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.005113, allocations: 130.4 kB / 321.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.005122, allocations: 192 / 321.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.005133, allocations: 8.125 kB / 321.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.005156, allocations: 4 kB / 321.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.005229, allocations: 35.91 kB / 321.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.005576, allocations: 333 kB / 321.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.00567, allocations: 95.7 kB / 321.9 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.005718, allocations: 38.62 kB / 322 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.005734, allocations: 7.938 kB / 322 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.005754, allocations: 30.56 kB / 322 MB, free: 2.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.005755, allocations: 0 / 322 MB, free: 2.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002435/0.005999, allocations: 121.8 kB / 322.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.006053, allocations: 110.7 kB / 322.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.006145, allocations: 157.1 kB / 322.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.006155, allocations: 25.7 kB / 322.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.006196, allocations: 100 kB / 322.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.00621, allocations: 3.953 kB / 322.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.006237, allocations: 17.7 kB / 322.5 MB, free: 2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.006317, allocations: 318.8 kB / 322.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-05/0.006352, allocations: 15.98 kB / 322.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.006388, allocations: 29.77 kB / 322.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.006457, allocations: 45.69 kB / 322.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006459, allocations: 0 / 322.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.865e-05/0.006557, allocations: 77.48 kB / 323 MB, free: 1.496 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.00657, allocations: 10.97 kB / 323 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006575, allocations: 4.125 kB / 323 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.006586, allocations: 0 / 323 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.00664, allocations: 4 kB / 323 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.006646, allocations: 4 kB / 323 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.006669, allocations: 3.984 kB / 323 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.006676, allocations: 4 kB / 323.1 MB, free: 1.469 MB / 282.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.971e-05/0.006736, allocations: 117.8 kB / 323.2 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.006792, allocations: 61.52 kB / 323.2 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.006812, allocations: 15.95 kB / 323.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.006822, allocations: 8.031 kB / 323.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.006826, allocations: 0 / 323.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.006829, allocations: 0 / 323.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.006979, allocations: 148.7 kB / 323.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.006981, allocations: 0 / 323.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.007008, allocations: 11.98 kB / 323.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.00701, allocations: 4 kB / 323.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.007017, allocations: 0 / 323.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.007019, allocations: 4 kB / 323.4 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.00702, allocations: 0 / 323.4 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.007186, allocations: 287.4 kB / 323.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.007218, allocations: 15.95 kB / 323.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.007231, allocations: 3.984 kB / 323.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.007289, allocations: 4 kB / 323.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.007325, allocations: 0 / 323.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.007331, allocations: 11.92 kB / 323.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.565e-05/0.007386, allocations: 115.2 kB / 323.8 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007386, allocations: 0 / 323.8 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.007561, allocations: 8 kB / 323.8 MB, free: 0.5859 MB / 282.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 0.000399/0.00796, allocations: 0.7984 MB / 324.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.008092, allocations: 47.89 kB / 324.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008094, allocations: 0 / 324.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.008129, allocations: 19.98 kB / 324.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.00845, allocations: 32.14 kB / 324.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.009519, allocations: 1.503 MB / 326.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.21e-05/0.009591, allocations: 89.77 kB / 326.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.229e-05/0.009634, allocations: 8.125 kB / 326.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.009686, allocations: 24.48 kB / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.009686, allocations: 0 / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.02544, allocations: 2.551 MB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.728, allocations: 10.22 kB / 328.9 MB, free: 11.51 MB / 298.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.578175341710448]