Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001798/0.001798, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002149/0.002149, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 230.4 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 59.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1073, allocations: 53.37 MB / 426.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002958/0.1102, allocations: 1.612 MB / 428 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009807/0.1112, allocations: 0.5376 MB / 428.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.1113, allocations: 7.938 kB / 428.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.877e-05/0.1113, allocations: 7.922 kB / 428.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.1115, allocations: 11.88 kB / 428.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1118, allocations: 63.8 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1119, allocations: 47.78 kB / 428.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.112, allocations: 12.19 kB / 428.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1121, allocations: 31.91 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.1121, allocations: 27.86 kB / 428.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1122, allocations: 7.938 kB / 428.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.589e-05/0.1122, allocations: 4 kB / 428.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.1122, allocations: 15.92 kB / 428.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.1123, allocations: 27.81 kB / 428.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1124, allocations: 59.67 kB / 428.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1124, allocations: 0 / 428.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1124, allocations: 0 / 428.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1124, allocations: 0 / 428.8 MB, free: 2.148 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.0005109/0.1129, allocations: 391 kB / 429.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.113, allocations: 8.031 kB / 429.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.113, allocations: 38.75 kB / 429.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1131, allocations: 16.88 kB / 429.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1134, allocations: 208.6 kB / 429.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1134, allocations: 4.125 kB / 429.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1134, allocations: 4 kB / 429.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.1137, allocations: 117.9 kB / 429.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1137, allocations: 0 / 429.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1137, allocations: 4 kB / 429.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1137, allocations: 0 / 429.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.1138, allocations: 19.98 kB / 429.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.1142, allocations: 278.5 kB / 429.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1143, allocations: 67.8 kB / 430 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.428e-05/0.1143, allocations: 34.62 kB / 430 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1144, allocations: 7.984 kB / 430 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1144, allocations: 34.55 kB / 430 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1144, allocations: 0 / 430 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002724/0.1147, allocations: 93.64 kB / 430.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.1148, allocations: 106.8 kB / 430.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1149, allocations: 149.1 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1149, allocations: 29.64 kB / 430.4 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.115, allocations: 92.14 kB / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.115, allocations: 0 / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.115, allocations: 25.86 kB / 430.5 MB, free: 188 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1152, allocations: 318.8 kB / 430.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.1152, allocations: 11.98 kB / 430.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-05/0.1153, allocations: 31.38 kB / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.669e-05/0.1154, allocations: 51.42 kB / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1154, allocations: 0 / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001434/0.1155, allocations: 69.55 kB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1155, allocations: 4 kB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1155, allocations: 0 / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1155, allocations: 4.125 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.1156, allocations: 11.98 kB / 431 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1156, allocations: 11.88 kB / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.692e-05/0.1157, allocations: 0 / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1157, allocations: 4 kB / 431 MB, free: 15.64 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.825e-05/0.1158, allocations: 125.8 kB / 431.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.54e-05/0.1158, allocations: 57.55 kB / 431.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.1159, allocations: 11.86 kB / 431.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1159, allocations: 4.062 kB / 431.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1159, allocations: 3.938 kB / 431.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1159, allocations: 0 / 431.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.1161, allocations: 173.7 kB / 431.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1161, allocations: 0 / 431.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.1161, allocations: 12.08 kB / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.1161, allocations: 7.984 kB / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1162, allocations: 3.938 kB / 431.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1162, allocations: 0 / 431.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1162, allocations: 3.938 kB / 431.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.1164, allocations: 177.2 kB / 431.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.1164, allocations: 93.05 kB / 431.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1164, allocations: 0 / 431.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.1165, allocations: 8 kB / 431.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.1165, allocations: 7.922 kB / 431.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1166, allocations: 4 kB / 431.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.291e-05/0.1166, allocations: 115.2 kB / 431.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1166, allocations: 0 / 431.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.1169, allocations: 8 kB / 431.8 MB, free: 14.72 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.0005296/0.1174, allocations: 0.7063 MB / 432.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.1175, allocations: 35.86 kB / 432.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1175, allocations: 0 / 432.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.1176, allocations: 11.98 kB / 432.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1179, allocations: 28.39 kB / 432.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1193, allocations: 1.401 MB / 434 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1197, allocations: 0.6924 MB / 434.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.161e-05/0.1197, allocations: 3.984 kB / 434.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.1197, allocations: 19.44 kB / 434.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1197, allocations: 0 / 434.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.1426, allocations: 1.707 MB / 436.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.791, allocations: 7.609 kB / 436.4 MB, free: 10.05 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.411627868073992]