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.001565/0.001565, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002049/0.002049, allocations: 205.6 kB / 23.73 MB, free: 4.379 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001508/0.001508, allocations: 51.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.272, allocations: 53.37 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003144/0.2752, allocations: 1.596 MB / 432.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2763, allocations: 0.5142 MB / 433.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.2764, allocations: 3.938 kB / 433.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.835e-05/0.2764, allocations: 3.938 kB / 433.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.2766, allocations: 31.84 kB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.2769, allocations: 55.77 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.2771, allocations: 51.84 kB / 433.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.2772, allocations: 12.17 kB / 433.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.2773, allocations: 31.8 kB / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.2773, allocations: 19.86 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2774, allocations: 4 kB / 433.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.2774, allocations: 4 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.2774, allocations: 11.98 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.2775, allocations: 27.8 kB / 433.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2776, allocations: 65.38 kB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2776, allocations: 0 / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2776, allocations: 0 / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2776, allocations: 4 kB / 433.5 MB, free: 4.223 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.0005382/0.2782, allocations: 309.9 kB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2782, allocations: 8.031 kB / 433.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.2783, allocations: 38.69 kB / 433.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.2784, allocations: 20.88 kB / 433.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.2787, allocations: 145.4 kB / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2787, allocations: 12.06 kB / 434 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2787, allocations: 0 / 434 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.279, allocations: 113.9 kB / 434.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.279, allocations: 0 / 434.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.279, allocations: 4 kB / 434.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.279, allocations: 0 / 434.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/0.2791, allocations: 27.92 kB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.2795, allocations: 245.6 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.2796, allocations: 63.8 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.2796, allocations: 30.62 kB / 434.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.2797, allocations: 7.938 kB / 434.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2797, allocations: 34.56 kB / 434.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2797, allocations: 0 / 434.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002801/0.28, allocations: 89.73 kB / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/0.2801, allocations: 110.8 kB / 434.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.2802, allocations: 152.7 kB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.2803, allocations: 25.7 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.2803, allocations: 88.12 kB / 435 MB, free: 2.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.2803, allocations: 11.98 kB / 435 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.2804, allocations: 17.67 kB / 435 MB, free: 2.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2805, allocations: 318.8 kB / 435.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.2806, allocations: 8 kB / 435.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.2806, allocations: 39.61 kB / 435.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.2807, allocations: 43.36 kB / 435.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2807, allocations: 7.938 kB / 435.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001355/0.2809, allocations: 65.61 kB / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2809, allocations: 12.12 kB / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2809, allocations: 0 / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2809, allocations: 4 kB / 435.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.281, allocations: 15.92 kB / 435.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.281, allocations: 7.938 kB / 435.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.281, allocations: 0 / 435.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.281, allocations: 4 kB / 435.6 MB, free: 1.914 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 9.85e-05/0.2811, allocations: 113.8 kB / 435.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.2812, allocations: 61.53 kB / 435.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.2813, allocations: 16.03 kB / 435.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2813, allocations: 3.938 kB / 435.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.2813, allocations: 7.922 kB / 435.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2813, allocations: 0 / 435.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.2815, allocations: 140.7 kB / 435.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2815, allocations: 4 kB / 435.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.2815, allocations: 7.984 kB / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2815, allocations: 4.094 kB / 435.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2815, allocations: 3.984 kB / 435.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2815, allocations: 0 / 435.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2815, allocations: 7.938 kB / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.2817, allocations: 181.1 kB / 436.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.2818, allocations: 19.94 kB / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.2818, allocations: 0 / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.2819, allocations: 4 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.2819, allocations: 7.922 kB / 436.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2819, allocations: 0 / 436.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.561e-05/0.282, allocations: 111.2 kB / 436.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.282, allocations: 0 / 436.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.2823, allocations: 12 kB / 436.3 MB, free: 1.137 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.0005044/0.2828, allocations: 0.7063 MB / 437 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.2829, allocations: 31.92 kB / 437 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2829, allocations: 0 / 437 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.2829, allocations: 7.984 kB / 437 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2833, allocations: 36.3 kB / 437 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.2848, allocations: 1.407 MB / 438.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.2849, allocations: 75.33 kB / 438.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.953e-05/0.285, allocations: 3.984 kB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.285, allocations: 19.44 kB / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.285, allocations: 0 / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.3137, allocations: 2.349 MB / 440.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.1, allocations: 6.391 kB / 440.9 MB, free: 12.49 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.600962978991447]