Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.001893/0.001893, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00233/0.00233, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 51.92 kB / 377.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.263, allocations: 53.34 MB / 431.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003009/0.266, allocations: 1.618 MB / 432.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.267, allocations: 0.5647 MB / 433.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.155e-05/0.2671, allocations: 11.88 kB / 433.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.218e-05/0.2672, allocations: 7.938 kB / 433.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.2673, allocations: 15.86 kB / 433.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.2676, allocations: 63.8 kB / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2677, allocations: 43.86 kB / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.2678, allocations: 12.17 kB / 433.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.2679, allocations: 39.78 kB / 433.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.268, allocations: 15.94 kB / 433.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.268, allocations: 0 / 433.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.268, allocations: 11.98 kB / 433.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.2681, allocations: 15.94 kB / 433.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.2681, allocations: 31.73 kB / 433.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2683, allocations: 52.17 kB / 433.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2683, allocations: 4 kB / 433.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.2683, allocations: 3.984 kB / 433.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2683, allocations: 0 / 433.6 MB, free: 4.316 MB / 334.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.0004498/0.2687, allocations: 309.9 kB / 433.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2687, allocations: 8.031 kB / 434 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.2688, allocations: 30.75 kB / 434 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.2689, allocations: 24.88 kB / 434 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.2692, allocations: 146.8 kB / 434.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2692, allocations: 12.12 kB / 434.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.2692, allocations: 0 / 434.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.2695, allocations: 113.9 kB / 434.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2695, allocations: 0 / 434.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2695, allocations: 4 kB / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2695, allocations: 4 kB / 434.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.167e-05/0.2696, allocations: 23.92 kB / 434.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.2699, allocations: 245.6 kB / 434.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.27, allocations: 67.78 kB / 434.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.2701, allocations: 30.62 kB / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2701, allocations: 8 kB / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2701, allocations: 42.44 kB / 434.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2701, allocations: 0 / 434.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002633/0.2704, allocations: 81.56 kB / 434.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.2705, allocations: 111.2 kB / 434.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2706, allocations: 152 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2706, allocations: 25.7 kB / 435.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.2707, allocations: 92.12 kB / 435.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.2707, allocations: 0 / 435.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.2707, allocations: 25.61 kB / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2709, allocations: 322.8 kB / 435.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/0.2709, allocations: 8 kB / 435.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.688e-05/0.271, allocations: 39.36 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2711, allocations: 43.42 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2711, allocations: 7.938 kB / 435.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001595/0.2713, allocations: 69.61 kB / 435.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2713, allocations: 4 kB / 435.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2713, allocations: 0 / 435.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2713, allocations: 4 kB / 435.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.2714, allocations: 8 kB / 435.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2714, allocations: 7.938 kB / 435.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.2714, allocations: 8.109 kB / 435.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2715, allocations: 4 kB / 435.7 MB, free: 2.004 MB / 334.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 8.959e-05/0.2715, allocations: 117.8 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/0.2716, allocations: 57.59 kB / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.2717, allocations: 11.97 kB / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.2717, allocations: 96 / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.2717, allocations: 7.922 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2717, allocations: 0 / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.2719, allocations: 148.7 kB / 436 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2719, allocations: 8 kB / 436 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.2719, allocations: 7.938 kB / 436 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2719, allocations: 4 kB / 436 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2719, allocations: 3.984 kB / 436 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2719, allocations: 0 / 436 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2719, allocations: 3.938 kB / 436 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.2721, allocations: 181.2 kB / 436.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.2722, allocations: 19.88 kB / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.2722, allocations: 7.984 kB / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.2723, allocations: 0 / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.2723, allocations: 3.938 kB / 436.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2723, allocations: 4 kB / 436.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.504e-05/0.2724, allocations: 116.5 kB / 436.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2724, allocations: 0 / 436.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.2726, allocations: 12 kB / 436.4 MB, free: 1.219 MB / 334.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.0004939/0.2731, allocations: 0.6985 MB / 437.1 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.2733, allocations: 39.91 kB / 437.1 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2733, allocations: 0 / 437.1 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.2733, allocations: 4 kB / 437.1 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.2737, allocations: 46.55 kB / 437.2 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.2751, allocations: 1.408 MB / 438.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.2755, allocations: 0.6924 MB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.043e-05/0.2755, allocations: 4 kB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.2755, allocations: 19.42 kB / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2755, allocations: 0 / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.3029, allocations: 1.873 MB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.13, allocations: 7.312 kB / 441.2 MB, free: 12.41 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 13.709557469999709]