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.0007983/0.0007983, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007913/0.0007913, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9126/0.9126, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.863e-06/1.863e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.718e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002068/0.002085, allocations: 1.606 MB / 326.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.002877, allocations: 0.5141 MB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.002953, allocations: 7.938 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.002992, allocations: 7.922 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.003111, allocations: 7.875 kB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.00337, allocations: 67.73 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.003473, allocations: 51.8 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.003557, allocations: 16.11 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.003664, allocations: 43.83 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.003707, allocations: 11.92 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.003723, allocations: 4 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/0.003757, allocations: 4 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.0038, allocations: 15.98 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.003821, allocations: 15.92 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003938, allocations: 63.73 kB / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.00394, allocations: 0 / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003941, allocations: 4 kB / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.003945, allocations: 0 / 327 MB, free: 13.47 MB / 298.7 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.0003337/0.004279, allocations: 302 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.004312, allocations: 11.97 kB / 327.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.00434, allocations: 38.73 kB / 327.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.004439, allocations: 16.89 kB / 327.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.004599, allocations: 142.2 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.004608, allocations: 8.375 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.004616, allocations: 384 / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.004827, allocations: 126 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.004836, allocations: 4 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.004843, allocations: 0 / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004848, allocations: 3.984 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/0.004896, allocations: 27.86 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.005151, allocations: 245.6 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.269e-05/0.005224, allocations: 71.78 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.005259, allocations: 26.64 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.00528, allocations: 11.92 kB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.005297, allocations: 34.56 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005298, allocations: 0 / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001748/0.005473, allocations: 81.94 kB / 328.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.005518, allocations: 118.7 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.005721, allocations: 152.8 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.00573, allocations: 25.7 kB / 328.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.005766, allocations: 84.14 kB / 328.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.005777, allocations: 4 kB / 328.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.005803, allocations: 17.67 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.005876, allocations: 322.8 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.005897, allocations: 8 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.005913, allocations: 7.984 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.00595, allocations: 20.91 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005951, allocations: 0 / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.741e-05/0.006008, allocations: 49.69 kB / 328.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.00602, allocations: 4 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006024, allocations: 3.938 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006035, allocations: 0 / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.006081, allocations: 4 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.006087, allocations: 3.984 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.006104, allocations: 8.031 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.006109, allocations: 0 / 329 MB, free: 11.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.526e-05/0.006164, allocations: 117.8 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.006207, allocations: 53.64 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.006232, allocations: 7.969 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006235, allocations: 7.938 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.006239, allocations: 0 / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.006243, allocations: 3.984 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.006357, allocations: 144.7 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006358, allocations: 4.062 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.006387, allocations: 11.98 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006388, allocations: 3.938 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.006395, allocations: 4 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.006396, allocations: 0 / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006396, allocations: 0 / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.006502, allocations: 185 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.006529, allocations: 15.94 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.00654, allocations: 4 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.006572, allocations: 4 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.006596, allocations: 7.984 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.006599, allocations: 0 / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.006645, allocations: 115.2 kB / 329.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006645, allocations: 0 / 329.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001398/0.006785, allocations: 4 kB / 329.6 MB, free: 10.51 MB / 298.7 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.0002546/0.007039, allocations: 0.7102 MB / 330.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.019e-05/0.007119, allocations: 27.92 kB / 330.4 MB, free: 9.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007122, allocations: 4 kB / 330.4 MB, free: 9.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.007139, allocations: 11.98 kB / 330.4 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.007397, allocations: 27.89 kB / 330.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007733/0.00817, allocations: 1.327 MB / 331.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.008496, allocations: 87.36 kB / 331.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.43e-05/0.00852, allocations: 8.078 kB / 331.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.008563, allocations: 20.48 kB / 331.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.008564, allocations: 3.938 kB / 331.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.02462, allocations: 2.413 MB / 334.3 MB, free: 5.859 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/6.893, allocations: 7.922 kB / 334.3 MB, free: 5.852 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/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: 8.729166064411402]