Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.001838/0.001838, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002176/0.002176, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.435/1.435, allocations: 230.4 MB / 254 MB, free: 15.01 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.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.91 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1065, allocations: 53.37 MB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002928/0.1094, allocations: 1.603 MB / 428 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1104, allocations: 0.5609 MB / 428.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.1105, allocations: 3.938 kB / 428.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.1105, allocations: 3.938 kB / 428.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.1107, allocations: 19.88 kB / 428.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.111, allocations: 63.8 kB / 428.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1111, allocations: 55.77 kB / 428.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.1112, allocations: 8.188 kB / 428.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1113, allocations: 31.86 kB / 428.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.1114, allocations: 23.84 kB / 428.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1114, allocations: 4 kB / 428.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.699e-05/0.1114, allocations: 4 kB / 428.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.1115, allocations: 15.92 kB / 428.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.1115, allocations: 27.81 kB / 428.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1116, allocations: 59.67 kB / 428.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1116, allocations: 4 kB / 428.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1116, allocations: 0 / 428.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1117, allocations: 0 / 428.8 MB, free: 2.109 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.000497/0.1122, allocations: 387 kB / 429.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1122, allocations: 15.97 kB / 429.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.1122, allocations: 34.69 kB / 429.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.1124, allocations: 16.88 kB / 429.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1126, allocations: 211.6 kB / 429.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1127, allocations: 4.125 kB / 429.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1127, allocations: 8 kB / 429.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.1129, allocations: 109.9 kB / 429.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.113, allocations: 4 kB / 429.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.113, allocations: 0 / 429.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.113, allocations: 0 / 429.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1131, allocations: 27.92 kB / 429.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.1134, allocations: 278.6 kB / 429.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1136, allocations: 71.84 kB / 430 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.1136, allocations: 26.58 kB / 430 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1137, allocations: 3.938 kB / 430 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1137, allocations: 42.55 kB / 430.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1137, allocations: 0 / 430.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002728/0.114, allocations: 85.52 kB / 430.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.114, allocations: 114.7 kB / 430.3 MB, free: 464 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1142, allocations: 146.1 kB / 430.4 MB, free: 308 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1142, allocations: 33.7 kB / 430.4 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.1143, allocations: 84.14 kB / 430.5 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.1143, allocations: 4 kB / 430.5 MB, free: 176 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1143, allocations: 25.66 kB / 430.5 MB, free: 144 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1145, allocations: 314.8 kB / 430.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.1145, allocations: 11.98 kB / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.1146, allocations: 35.44 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.567e-05/0.1147, allocations: 43.36 kB / 430.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1147, allocations: 3.938 kB / 430.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.1148, allocations: 69.61 kB / 431 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1148, allocations: 4 kB / 431 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1148, allocations: 4 kB / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1149, allocations: 0 / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.1149, allocations: 19.92 kB / 431 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1149, allocations: 3.938 kB / 431 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.115, allocations: 4 kB / 431 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.115, allocations: 0 / 431 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.0001022/0.1151, allocations: 129.9 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.1152, allocations: 53.55 kB / 431.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1152, allocations: 15.86 kB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1152, allocations: 0 / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1152, allocations: 7.938 kB / 431.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1152, allocations: 0 / 431.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.1154, allocations: 169.7 kB / 431.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1154, allocations: 0 / 431.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.1155, allocations: 11.98 kB / 431.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1155, allocations: 0 / 431.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1155, allocations: 4.062 kB / 431.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1155, allocations: 4 kB / 431.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1155, allocations: 3.938 kB / 431.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1157, allocations: 177.2 kB / 431.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.1158, allocations: 93.08 kB / 431.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1158, allocations: 8 kB / 431.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.1159, allocations: 7.984 kB / 431.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1159, allocations: 7.938 kB / 431.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1159, allocations: 4 kB / 431.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.376e-05/0.116, allocations: 113.9 kB / 431.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.116, allocations: 0 / 431.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.1162, allocations: 4 kB / 431.8 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.0005184/0.1167, allocations: 0.7101 MB / 432.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1169, allocations: 35.92 kB / 432.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1169, allocations: 4.25 kB / 432.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.1169, allocations: 11.98 kB / 432.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1173, allocations: 23.95 kB / 432.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1188, 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.0003528/0.1191, allocations: 0.6963 MB / 434.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.348e-05/0.1192, allocations: 8 kB / 434.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.1192, allocations: 15.44 kB / 434.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1192, allocations: 0 / 434.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.1439, allocations: 1.759 MB / 436.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/7.885, allocations: 8.047 kB / 436.5 MB, free: 9.949 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.559322390938178]