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.001435/0.001435, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001573/0.001573, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001589/0.001589, allocations: 47.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2556, allocations: 53.36 MB / 431.1 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003005/0.2586, allocations: 1.607 MB / 432.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2596, allocations: 0.5065 MB / 433.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.2597, allocations: 7.938 kB / 433.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.005e-05/0.2598, allocations: 7.922 kB / 433.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.2599, allocations: 15.88 kB / 433.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.2602, allocations: 59.8 kB / 433.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.2603, allocations: 51.8 kB / 433.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.2604, allocations: 8.172 kB / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2605, allocations: 35.84 kB / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.2606, allocations: 19.86 kB / 433.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.2606, allocations: 4 kB / 433.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.946e-05/0.2606, allocations: 12 kB / 433.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.2607, allocations: 15.92 kB / 433.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.2607, allocations: 19.88 kB / 433.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.2609, allocations: 61.36 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2609, allocations: 0 / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2609, allocations: 0 / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.2609, allocations: 0 / 433.5 MB, free: 4.355 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.0004598/0.2613, allocations: 309.8 kB / 433.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2614, allocations: 12.03 kB / 433.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.2614, allocations: 38.73 kB / 433.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.2616, allocations: 16.89 kB / 433.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.2618, allocations: 149.2 kB / 434 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2618, allocations: 8.125 kB / 434 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.2618, allocations: 0 / 434 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.2621, allocations: 113.9 kB / 434.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2621, allocations: 0 / 434.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.2621, allocations: 4 kB / 434.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2621, allocations: 4 kB / 434.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.109e-05/0.2622, allocations: 23.92 kB / 434.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.2625, allocations: 249.6 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2627, allocations: 71.78 kB / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/0.2627, allocations: 30.58 kB / 434.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2628, allocations: 3.984 kB / 434.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.2628, allocations: 38.56 kB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2628, allocations: 0 / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002817/0.2631, allocations: 81.56 kB / 434.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.2632, allocations: 110.8 kB / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.2633, allocations: 152.7 kB / 434.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.2633, allocations: 29.7 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.2634, allocations: 88.14 kB / 435 MB, free: 2.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.2634, allocations: 384 / 435 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.2634, allocations: 29.66 kB / 435 MB, free: 2.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2636, allocations: 314.8 kB / 435.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.2636, allocations: 11.98 kB / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.759e-05/0.2637, allocations: 39.42 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.687e-05/0.2638, allocations: 51.3 kB / 435.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2638, allocations: 0 / 435.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001385/0.2639, allocations: 65.62 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2639, allocations: 8 kB / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2639, allocations: 0 / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2639, allocations: 0 / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.264, allocations: 15.92 kB / 435.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.264, allocations: 3.938 kB / 435.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.2641, allocations: 4 kB / 435.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2641, allocations: 4 kB / 435.6 MB, free: 2.047 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 0.0001011/0.2642, allocations: 122 kB / 435.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.2643, allocations: 53.55 kB / 435.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.2643, allocations: 15.95 kB / 435.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2643, allocations: 4 kB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2643, allocations: 3.938 kB / 435.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2643, allocations: 0 / 435.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.2645, allocations: 144.8 kB / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2645, allocations: 0 / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.2646, allocations: 11.98 kB / 435.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2646, allocations: 4.062 kB / 435.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2646, allocations: 4 kB / 435.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2646, allocations: 0 / 435.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.2646, allocations: 7.922 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.2648, allocations: 181.1 kB / 436.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.2648, allocations: 15.94 kB / 436.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2649, allocations: 7.984 kB / 436.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.2649, allocations: 3.938 kB / 436.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.265, allocations: 7.938 kB / 436.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.265, allocations: 0 / 436.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.116e-05/0.2651, allocations: 115.2 kB / 436.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2651, allocations: 0 / 436.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.2653, allocations: 8 kB / 436.2 MB, free: 1.266 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.0005195/0.2658, allocations: 0.7063 MB / 437 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.266, allocations: 35.91 kB / 437 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.266, allocations: 256 / 437 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.266, allocations: 8 kB / 437 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.2664, allocations: 42.7 kB / 437 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.2679, allocations: 1.403 MB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.759e-05/0.268, allocations: 75.58 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.2681, allocations: 4 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.2681, allocations: 23.42 kB / 438.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2681, allocations: 0 / 438.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.3007, allocations: 2.302 MB / 440.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.47, allocations: 15.72 kB / 440.9 MB, free: 12.64 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.068201911170036]