Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001651/0.001651, allocations: 131.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.001966/0.001966, allocations: 211.6 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.403/1.403, allocations: 230.5 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.1014, allocations: 53.37 MB / 426.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003314/0.1047, allocations: 1.6 MB / 428 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1058, allocations: 0.5726 MB / 428.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.1059, allocations: 11.88 kB / 428.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.106, allocations: 7.938 kB / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.1061, allocations: 7.875 kB / 428.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.1065, allocations: 71.8 kB / 428.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.1066, allocations: 47.78 kB / 428.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.1067, allocations: 12.19 kB / 428.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1068, allocations: 31.84 kB / 428.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.1068, allocations: 19.86 kB / 428.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1069, allocations: 4 kB / 428.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.924e-05/0.1069, allocations: 8 kB / 428.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.1069, allocations: 19.92 kB / 428.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.107, allocations: 31.8 kB / 428.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1071, allocations: 55.69 kB / 428.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1071, allocations: 0 / 428.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1071, allocations: 0 / 428.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1072, allocations: 0 / 428.9 MB, free: 2.113 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.0004929/0.1076, allocations: 383 kB / 429.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1077, allocations: 8.031 kB / 429.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.1077, allocations: 34.75 kB / 429.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.1079, allocations: 24.88 kB / 429.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.1082, allocations: 216.6 kB / 429.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1082, allocations: 4.125 kB / 429.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1082, allocations: 4 kB / 429.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.1085, allocations: 113.9 kB / 429.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1085, allocations: 0 / 429.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1085, allocations: 4 kB / 429.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1085, allocations: 3.984 kB / 429.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.909e-05/0.1086, allocations: 23.92 kB / 429.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.1091, allocations: 270.6 kB / 429.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1092, allocations: 71.78 kB / 430 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.1093, allocations: 30.62 kB / 430 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1093, allocations: 8 kB / 430 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1093, allocations: 34.5 kB / 430.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1093, allocations: 0 / 430.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002878/0.1096, allocations: 85.52 kB / 430.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.1097, allocations: 111.2 kB / 430.3 MB, free: 476 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1099, allocations: 149.1 kB / 430.4 MB, free: 320 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1099, allocations: 25.7 kB / 430.4 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.1099, allocations: 92.14 kB / 430.5 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.1099, allocations: 7.922 kB / 430.5 MB, free: 184 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.11, allocations: 21.67 kB / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1101, allocations: 314.8 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/0.1102, allocations: 19.92 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.1103, allocations: 31.42 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1104, allocations: 51.36 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1104, allocations: 4 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001398/0.1105, allocations: 61.62 kB / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1105, allocations: 5.875 kB / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1105, allocations: 3.984 kB / 431 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1105, allocations: 4 kB / 431 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.1106, allocations: 4 kB / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1106, allocations: 7.938 kB / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.1107, allocations: 12 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1107, allocations: 4 kB / 431.1 MB, free: 15.6 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 0.0001155/0.1108, allocations: 121.8 kB / 431.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.1109, allocations: 61.59 kB / 431.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.111, allocations: 7.875 kB / 431.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.111, allocations: 0 / 431.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.111, allocations: 7.875 kB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.111, allocations: 0 / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.1112, allocations: 181.6 kB / 431.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1112, allocations: 8.047 kB / 431.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.1113, allocations: 8 kB / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1113, allocations: 4 kB / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1113, allocations: 0 / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1113, allocations: 0 / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.1113, allocations: 3.938 kB / 431.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1116, allocations: 181.1 kB / 431.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.1117, allocations: 93.05 kB / 431.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1117, allocations: 3.984 kB / 431.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1118, allocations: 4 kB / 431.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.1119, allocations: 3.938 kB / 431.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.1119, allocations: 4 kB / 431.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.1121, allocations: 111.2 kB / 431.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1121, allocations: 0 / 431.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.1125, allocations: 12 kB / 431.9 MB, free: 14.69 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.0006336/0.1131, allocations: 0.7024 MB / 432.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1133, allocations: 35.97 kB / 432.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1133, allocations: 0 / 432.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.248e-05/0.1133, allocations: 11.94 kB / 432.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.1138, allocations: 27.89 kB / 432.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1158, allocations: 1.409 MB / 434 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.1162, allocations: 0.6963 MB / 434.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.1162, allocations: 0 / 434.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.1163, allocations: 23.42 kB / 434.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1163, allocations: 0 / 434.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.1425, allocations: 1.714 MB / 436.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/7.793, allocations: 7.922 kB / 436.5 MB, free: 10.01 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.45877724699676]