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.001241/0.001241, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001442/0.001442, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.454/1.454, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001658/0.001658, allocations: 55.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1077, allocations: 53.32 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003323/0.111, allocations: 1.598 MB / 427.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1123, allocations: 0.5454 MB / 428.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1124, allocations: 7.938 kB / 428.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.883e-05/0.1125, allocations: 3.938 kB / 428.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1127, allocations: 11.92 kB / 428.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.113, allocations: 63.83 kB / 428.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.1132, allocations: 55.72 kB / 428.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1133, allocations: 12.17 kB / 428.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1134, allocations: 31.86 kB / 428.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.1135, allocations: 19.86 kB / 428.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1135, allocations: 4 kB / 428.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.286e-05/0.1135, allocations: 4 kB / 428.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.1136, allocations: 19.91 kB / 428.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.1136, allocations: 31.8 kB / 428.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1138, allocations: 59.69 kB / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1138, allocations: 4 kB / 428.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1138, allocations: 0 / 428.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1138, allocations: 0 / 428.8 MB, free: 2.285 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.0006152/0.1144, allocations: 383 kB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1145, allocations: 8.031 kB / 429.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.1145, allocations: 38.69 kB / 429.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.1147, allocations: 20.88 kB / 429.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.115, allocations: 212.7 kB / 429.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.115, allocations: 8.125 kB / 429.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.115, allocations: 4 kB / 429.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.1154, allocations: 105.9 kB / 429.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1154, allocations: 0 / 429.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1154, allocations: 12 kB / 429.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1154, allocations: 0 / 429.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.1155, allocations: 23.92 kB / 429.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.1159, allocations: 266.6 kB / 429.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.1161, allocations: 71.78 kB / 429.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.1161, allocations: 30.62 kB / 430 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.1162, allocations: 7.938 kB / 430 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1162, allocations: 38.56 kB / 430 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1162, allocations: 0 / 430 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003324/0.1165, allocations: 85.52 kB / 430.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.1167, allocations: 106.8 kB / 430.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1168, allocations: 151.8 kB / 430.3 MB, free: 500 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1168, allocations: 30.08 kB / 430.4 MB, free: 464 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.1169, allocations: 88.14 kB / 430.4 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.1169, allocations: 7.984 kB / 430.5 MB, free: 364 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.117, allocations: 17.67 kB / 430.5 MB, free: 340 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1171, allocations: 318.8 kB / 430.8 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.1172, allocations: 7.984 kB / 430.8 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1173, allocations: 35.5 kB / 430.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1174, allocations: 51.36 kB / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1174, allocations: 0 / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000164/0.1176, allocations: 73.59 kB / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1176, allocations: 4 kB / 431 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1176, allocations: 3.984 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1176, allocations: 4 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.1177, allocations: 7.938 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1177, allocations: 11.88 kB / 431 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.1177, allocations: 0 / 431 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1177, allocations: 4 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 0.0001099/0.1179, allocations: 121.9 kB / 431.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/0.118, allocations: 65.53 kB / 431.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.118, allocations: 11.88 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.118, allocations: 0 / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.118, allocations: 3.938 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.118, allocations: 4 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.1183, allocations: 169.7 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1183, allocations: 3.984 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.1183, allocations: 8 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.1183, allocations: 4 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1184, allocations: 4.062 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1184, allocations: 0 / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1184, allocations: 3.938 kB / 431.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1186, allocations: 185.2 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.1187, allocations: 93.05 kB / 431.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1187, allocations: 7.984 kB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.1188, allocations: 4 kB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1188, allocations: 3.938 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1188, allocations: 4 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.203e-05/0.1189, allocations: 110.6 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1189, allocations: 0 / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1191, allocations: 12 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.0005156/0.1196, allocations: 0.7063 MB / 432.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1198, allocations: 35.91 kB / 432.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1198, allocations: 256 / 432.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.1198, allocations: 8 kB / 432.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.1203, allocations: 31.95 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.001714/0.122, allocations: 1.401 MB / 434 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.1224, allocations: 0.6924 MB / 434.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.024e-05/0.1224, allocations: 8 kB / 434.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.1225, allocations: 15.42 kB / 434.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1225, allocations: 0 / 434.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.1483, allocations: 1.712 MB / 436.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/7.977, allocations: 7.875 kB / 436.4 MB, free: 10.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 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.mat","/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.484296148875728]