Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001822/0.001822, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002284/0.002284, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.553/1.553, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 47.94 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1079, allocations: 53.32 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003478/0.1114, allocations: 1.595 MB / 427.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1126, allocations: 0.5415 MB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1127, allocations: 7.938 kB / 428.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.291e-05/0.1127, allocations: 7.922 kB / 428.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.1129, allocations: 11.88 kB / 428.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.1132, allocations: 59.81 kB / 428.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1133, allocations: 43.84 kB / 428.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.1134, allocations: 16.17 kB / 428.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1136, allocations: 35.86 kB / 428.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.1136, allocations: 23.84 kB / 428.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1136, allocations: 4 kB / 428.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.194e-05/0.1137, allocations: 4 kB / 428.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.1137, allocations: 15.92 kB / 428.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.1138, allocations: 27.81 kB / 428.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1139, allocations: 63.67 kB / 428.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1139, allocations: 0 / 428.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1139, allocations: 0 / 428.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.114, allocations: 0 / 428.8 MB, free: 2.301 MB / 350.1 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.0005638/0.1145, allocations: 390.9 kB / 429.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1146, allocations: 8.031 kB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.1146, allocations: 34.73 kB / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.1148, allocations: 28.81 kB / 429.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1151, allocations: 200.8 kB / 429.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1151, allocations: 8.125 kB / 429.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.1151, allocations: 4 kB / 429.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.1154, allocations: 113.9 kB / 429.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1155, allocations: 0 / 429.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1155, allocations: 8 kB / 429.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1155, allocations: 3.984 kB / 429.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.1156, allocations: 23.92 kB / 429.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.116, allocations: 274.6 kB / 429.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1161, allocations: 67.8 kB / 429.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.1162, allocations: 34.56 kB / 429.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1162, allocations: 4 kB / 430 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1162, allocations: 34.56 kB / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1162, allocations: 0 / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003172/0.1165, allocations: 93.69 kB / 430.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.1166, allocations: 106.8 kB / 430.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1168, allocations: 148 kB / 430.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1168, allocations: 29.69 kB / 430.4 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.1168, allocations: 88.14 kB / 430.4 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1168, allocations: 4 kB / 430.4 MB, free: 372 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1169, allocations: 21.86 kB / 430.5 MB, free: 344 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.117, allocations: 322.8 kB / 430.8 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.1171, allocations: 4 kB / 430.8 MB, free: 8 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.1172, allocations: 35.5 kB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1173, allocations: 51.36 kB / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1173, allocations: 0 / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001632/0.1174, allocations: 69.61 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1175, allocations: 4 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1175, allocations: 0 / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.1175, allocations: 12.06 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.1176, allocations: 11.92 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1176, allocations: 7.938 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.1176, allocations: 0 / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.1176, allocations: 7.984 kB / 431 MB, free: 15.78 MB / 366.1 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 9.978e-05/0.1177, allocations: 117.8 kB / 431.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1178, allocations: 61.53 kB / 431.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.1179, allocations: 15.86 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1179, allocations: 4.062 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.1179, allocations: 7.875 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1179, allocations: 0 / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1181, allocations: 169.7 kB / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1181, allocations: 0 / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.1182, allocations: 11.98 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1182, allocations: 4 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1182, allocations: 0 / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1182, allocations: 0 / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1182, allocations: 3.938 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1184, allocations: 185.1 kB / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.1185, allocations: 97.05 kB / 431.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1185, allocations: 0 / 431.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.1186, allocations: 4 kB / 431.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1186, allocations: 7.922 kB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1186, allocations: 8 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.766e-05/0.1187, allocations: 106.1 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1187, allocations: 0 / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00025/0.119, allocations: 15.98 kB / 431.8 MB, free: 14.86 MB / 366.1 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 (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 Backend phase and start with SimCode phase: time 0.0005679/0.1195, allocations: 0.7063 MB / 432.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1197, allocations: 31.92 kB / 432.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1197, allocations: 0 / 432.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/0.1197, allocations: 7.984 kB / 432.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1201, allocations: 32.64 kB / 432.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.1218, allocations: 1.405 MB / 434 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1222, allocations: 0.6924 MB / 434.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.617e-05/0.1222, allocations: 3.984 kB / 434.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.1223, allocations: 19.38 kB / 434.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1223, allocations: 0 / 434.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.1454, allocations: 1.707 MB / 436.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/7.949, allocations: 3.938 kB / 436.4 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_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_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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: 10.808310111999162]