Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 249.1 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 51.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1121, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003108/0.1152, allocations: 1.593 MB / 419.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.1162, allocations: 0.4986 MB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/0.1163, allocations: 3.938 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.1163, allocations: 7.922 kB / 419.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1165, allocations: 11.88 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1167, allocations: 47.83 kB / 420 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1169, allocations: 51.84 kB / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.117, allocations: 8.188 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.1171, allocations: 27.84 kB / 420 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.1171, allocations: 23.86 kB / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1171, allocations: 0 / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.1171, allocations: 4 kB / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.1172, allocations: 11.98 kB / 420.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.1172, allocations: 31.75 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1174, allocations: 51.73 kB / 420.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1174, allocations: 0 / 420.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1174, allocations: 4 kB / 420.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1174, allocations: 4 kB / 420.2 MB, free: 10.24 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.0005876/0.118, allocations: 379 kB / 420.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.118, allocations: 8.031 kB / 420.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.1181, allocations: 42.69 kB / 420.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1181, allocations: 8.891 kB / 420.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1184, allocations: 206.2 kB / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1185, allocations: 8.375 kB / 420.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1185, allocations: 384 / 420.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.1188, allocations: 117.8 kB / 420.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1188, allocations: 3.938 kB / 420.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1188, allocations: 0 / 420.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1188, allocations: 4 kB / 420.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/0.1189, allocations: 27.92 kB / 421 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.1192, allocations: 270.5 kB / 421.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1194, allocations: 75.77 kB / 421.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.1194, allocations: 30.62 kB / 421.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1195, allocations: 3.938 kB / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1195, allocations: 38.56 kB / 421.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1195, allocations: 4 kB / 421.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002796/0.1198, allocations: 77.56 kB / 421.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.1199, allocations: 110.8 kB / 421.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.12, allocations: 149.8 kB / 421.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.12, allocations: 25.7 kB / 421.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.1201, allocations: 88.52 kB / 421.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.1201, allocations: 7.938 kB / 421.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.1201, allocations: 21.72 kB / 421.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1203, allocations: 318.8 kB / 422.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.1203, allocations: 7.984 kB / 422.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.877e-05/0.1204, allocations: 35.42 kB / 422.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1205, allocations: 51.36 kB / 422.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1205, allocations: 0 / 422.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001613/0.1207, allocations: 69.58 kB / 422.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1207, allocations: 8.125 kB / 422.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1207, allocations: 0 / 422.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1207, allocations: 7.984 kB / 422.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.1208, allocations: 11.94 kB / 422.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1208, allocations: 0 / 422.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1208, allocations: 4 kB / 422.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1208, allocations: 0 / 422.3 MB, free: 7.75 MB / 350.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.0001002/0.1209, allocations: 122.4 kB / 422.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/0.121, allocations: 61.58 kB / 422.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.1211, allocations: 11.88 kB / 422.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1211, allocations: 0 / 422.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1211, allocations: 0 / 422.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1211, allocations: 8 kB / 422.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.1213, allocations: 169.6 kB / 422.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1213, allocations: 0 / 422.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.1214, allocations: 11.98 kB / 422.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1214, allocations: 4 kB / 422.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1214, allocations: 0 / 422.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1214, allocations: 64 / 422.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1214, allocations: 7.938 kB / 422.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.1216, allocations: 185.1 kB / 422.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.1217, allocations: 89.05 kB / 423 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1217, allocations: 7.984 kB / 423 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.1218, allocations: 8 kB / 423 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1218, allocations: 0 / 423 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1218, allocations: 7.938 kB / 423 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1219, allocations: 109.5 kB / 423.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1219, allocations: 0 / 423.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1222, allocations: 4 kB / 423.1 MB, free: 6.852 MB / 350.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.0005502/0.1227, allocations: 0.7179 MB / 423.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1229, allocations: 39.91 kB / 423.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1229, allocations: 0 / 423.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.1229, allocations: 4.25 kB / 423.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1233, allocations: 28.08 kB / 423.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.1248, allocations: 1.395 MB / 425.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1251, allocations: 0.6925 MB / 426 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.762e-05/0.1251, allocations: 11.97 kB / 426 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.1252, allocations: 19.44 kB / 426 MB, free: 3.773 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1252, allocations: 4 kB / 426 MB, free: 3.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.1516, allocations: 1.741 MB / 427.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.169, allocations: 3.984 kB / 427.8 MB, free: 2.145 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.850323434919119]