Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008655/0.0008655, allocations: 79.7 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8925/0.8925, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.804e-05, allocations: 8.609 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002707/0.002725, allocations: 1.637 MB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009755/0.0037, allocations: 0.5297 MB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.003788, allocations: 3.938 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.533e-05/0.003883, allocations: 11.88 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.003989, allocations: 11.86 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.004287, allocations: 63.73 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.004422, allocations: 67.72 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.004525, allocations: 11.98 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.004657, allocations: 43.83 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.004716, allocations: 19.98 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.004734, allocations: 4 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.004776, allocations: 15.98 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.00483, allocations: 19.86 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.47e-05/0.004865, allocations: 19.92 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.005015, allocations: 71.72 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005017, allocations: 0 / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005019, allocations: 0 / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.005022, allocations: 0 / 327.1 MB, free: 13.39 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.0004559/0.005478, allocations: 325.8 kB / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.005513, allocations: 16.03 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.005545, allocations: 42.67 kB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.005673, allocations: 24.88 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.005852, allocations: 149.5 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.005861, allocations: 4.375 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.00587, allocations: 384 / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.006089, allocations: 134.4 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.006096, allocations: 192 / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.006106, allocations: 4.125 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.006123, allocations: 4 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.006193, allocations: 39.91 kB / 327.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.006498, allocations: 337 kB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.075e-05/0.006588, allocations: 95.64 kB / 328.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.006635, allocations: 42.61 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.006647, allocations: 0 / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.006667, allocations: 38.5 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.006668, allocations: 0 / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002198/0.006887, allocations: 117.9 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.006935, allocations: 110.8 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.007025, allocations: 154.9 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.007035, allocations: 33.7 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.007072, allocations: 92.08 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.007087, allocations: 11.94 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.007111, allocations: 13.72 kB / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.007179, allocations: 314.8 kB / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.007213, allocations: 15.98 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.007246, allocations: 25.7 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.647e-05/0.007323, allocations: 49.75 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007325, allocations: 0 / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.476e-05/0.007419, allocations: 81.48 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.007431, allocations: 4 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007435, allocations: 0 / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.007444, allocations: 0 / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.007497, allocations: 16.05 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.007502, allocations: 0 / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.007525, allocations: 7.938 kB / 329.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.00753, allocations: 0 / 329.4 MB, free: 10.87 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.884e-05/0.007589, allocations: 121.8 kB / 329.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.00764, allocations: 61.52 kB / 329.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.00766, allocations: 19.86 kB / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.007667, allocations: 0 / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.007671, allocations: 4 kB / 329.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007673, allocations: 4.031 kB / 329.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.007823, allocations: 164.6 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.007825, allocations: 3.984 kB / 329.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.007846, allocations: 4 kB / 329.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.007848, allocations: 4 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.007854, allocations: 0 / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007855, allocations: 3.984 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007856, allocations: 0 / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.008006, allocations: 275.5 kB / 330 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.008033, allocations: 19.94 kB / 330 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.008044, allocations: 4 kB / 330 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.008101, allocations: 4 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.008132, allocations: 7.922 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.008136, allocations: 4 kB / 330 MB, free: 10.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.202e-05/0.008188, allocations: 115.2 kB / 330.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008188, allocations: 0 / 330.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.008359, allocations: 8 kB / 330.2 MB, free: 9.98 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 0.0003108/0.008669, allocations: 0.8101 MB / 331 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.00878, allocations: 39.97 kB / 331 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008781, allocations: 0 / 331 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.298e-05/0.008814, allocations: 19.92 kB / 331 MB, free: 9.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.009116, allocations: 32 kB / 331.1 MB, free: 9.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.01012, allocations: 1.534 MB / 332.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.155e-05/0.01019, allocations: 85.11 kB / 332.7 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.01023, allocations: 16.09 kB / 332.7 MB, free: 7.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.01027, allocations: 24.5 kB / 332.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01027, allocations: 0 / 332.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.02535, allocations: 2.6 MB / 335.3 MB, free: 4.824 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/6.913, allocations: 8.062 kB / 335.3 MB, free: 4.816 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.719176195561886]