Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001752/0.001752, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002226/0.002226, allocations: 206.8 kB / 23.73 MB, free: 4.523 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 55.98 kB / 377.7 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 53.37 MB / 431.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002809/0.2341, allocations: 1.573 MB / 432.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2351, allocations: 0.522 MB / 433.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.2351, allocations: 4 kB / 433.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.776e-05/0.2352, allocations: 11.86 kB / 433.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.2353, allocations: 7.938 kB / 433.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.2356, allocations: 63.75 kB / 433.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2357, allocations: 43.86 kB / 433.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.2358, allocations: 20.16 kB / 433.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.236, allocations: 27.86 kB / 433.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.236, allocations: 35.73 kB / 433.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.236, allocations: 4 kB / 433.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.2361, allocations: 4 kB / 433.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.2361, allocations: 8 kB / 433.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.2361, allocations: 27.78 kB / 433.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2363, allocations: 65.36 kB / 433.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2363, allocations: 0 / 433.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2363, allocations: 0 / 433.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.2363, allocations: 0 / 433.5 MB, free: 4.398 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.0004581/0.2368, allocations: 310 kB / 433.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2368, allocations: 12.03 kB / 433.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.2368, allocations: 30.75 kB / 433.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.237, allocations: 16.88 kB / 433.8 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.2372, allocations: 149.3 kB / 434 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2372, allocations: 4.125 kB / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.2372, allocations: 11.94 kB / 434 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.2375, allocations: 109 kB / 434.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.2375, allocations: 0 / 434.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.2375, allocations: 0 / 434.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2375, allocations: 3.984 kB / 434.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.175e-05/0.2376, allocations: 19.98 kB / 434.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.2379, allocations: 232.8 kB / 434.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.413e-05/0.238, allocations: 41.2 kB / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.238, allocations: 25.78 kB / 434.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.2381, allocations: 0 / 434.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.2381, allocations: 34.5 kB / 434.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.2381, allocations: 0 / 434.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002268/0.2383, allocations: 69.56 kB / 434.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.2384, allocations: 81.11 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2385, allocations: 152.5 kB / 434.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2385, allocations: 25.95 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.2386, allocations: 96.09 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.2386, allocations: 7.984 kB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.2386, allocations: 13.72 kB / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2388, allocations: 318.8 kB / 435.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.2388, allocations: 7.984 kB / 435.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.2388, allocations: 13.72 kB / 435.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.907e-05/0.2389, allocations: 33.64 kB / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2389, allocations: 4.062 kB / 435.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001207/0.239, allocations: 61.62 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.239, allocations: 4 kB / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2391, allocations: 0 / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2391, allocations: 3.938 kB / 435.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.2391, allocations: 11.94 kB / 435.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.2391, allocations: 11.92 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.2392, allocations: 3.984 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2392, allocations: 0 / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.359e-05/0.2393, allocations: 121.9 kB / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.2393, allocations: 37.66 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.2394, allocations: 11.8 kB / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2394, allocations: 0 / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2394, allocations: 11.88 kB / 435.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2394, allocations: 0 / 435.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.2395, allocations: 132.8 kB / 435.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.2395, allocations: 7.984 kB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.2396, allocations: 4 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2396, allocations: 32 / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.2396, allocations: 4 kB / 435.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2396, allocations: 3.938 kB / 435.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.2396, allocations: 7.938 kB / 435.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.2398, allocations: 160.3 kB / 435.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.2398, allocations: 15.94 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.2398, allocations: 0 / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.2399, allocations: 4 kB / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.2399, allocations: 3.938 kB / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2399, allocations: 0 / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.494e-05/0.24, allocations: 115.3 kB / 436 MB, free: 1.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.24, allocations: 0 / 436 MB, free: 1.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.2402, allocations: 4 kB / 436 MB, free: 1.574 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004617/0.2407, allocations: 0.6898 MB / 436.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.2408, allocations: 23.98 kB / 436.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2408, allocations: 0 / 436.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.2408, allocations: 16.08 kB / 436.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.2412, allocations: 26.48 kB / 436.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.2425, allocations: 1.338 MB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.558e-05/0.2426, allocations: 71.33 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.215e-05/0.2426, allocations: 12.17 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.2427, allocations: 11.44 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2427, allocations: 0 / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.2701, allocations: 2.222 MB / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.19, allocations: 11.25 kB / 440.4 MB, free: 13.16 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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_ClockSignals_ShiftSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.663856696977746]