Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001031/0.001031, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001113/0.001113, allocations: 174 kB / 23.94 MB, free: 0.6172 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.9128/0.9128, 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.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.371e-05, allocations: 10.22 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002938/0.002961, allocations: 1.598 MB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.00399, allocations: 0.5413 MB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.004085, allocations: 3.938 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.856e-05/0.004134, allocations: 3.938 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.004297, allocations: 11.88 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.004671, allocations: 71.67 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.004803, allocations: 51.78 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.004912, allocations: 12.17 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.005075, allocations: 35.91 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.00513, allocations: 19.91 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.005148, allocations: 4 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.044e-05/0.005188, allocations: 4 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.005242, allocations: 15.92 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.005272, allocations: 15.94 kB / 327 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.005435, allocations: 55.8 kB / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.005439, allocations: 0 / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.005441, allocations: 0 / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.005447, allocations: 4 kB / 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.0004722/0.005919, allocations: 313.1 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.005963, allocations: 16.03 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.006003, allocations: 34.75 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.006148, allocations: 16.88 kB / 327.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.006418, allocations: 142.2 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.006428, allocations: 4.312 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.006439, allocations: 4.375 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.006728, allocations: 126 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006737, allocations: 0 / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.006745, allocations: 0 / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006751, allocations: 4 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.362e-05/0.006825, allocations: 19.98 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.007154, allocations: 245.6 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.007263, allocations: 67.84 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.00732, allocations: 34.56 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.007344, allocations: 0 / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.007373, allocations: 38.56 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.007374, allocations: 0 / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002731/0.007648, allocations: 85.5 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.007708, allocations: 106.8 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.007835, allocations: 152.8 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.007848, allocations: 26.08 kB / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.007897, allocations: 96.12 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.007914, allocations: 3.984 kB / 328.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.007952, allocations: 21.67 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.008048, allocations: 318.7 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.008084, allocations: 7.984 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.008109, allocations: 12 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.845e-05/0.008167, allocations: 20.78 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008169, allocations: 0 / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001001/0.008269, allocations: 49.75 kB / 328.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.008288, allocations: 8 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.008294, allocations: 0 / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.008308, allocations: 0 / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.008372, allocations: 7.984 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.008378, allocations: 0 / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.008403, allocations: 0 / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.00841, allocations: 0 / 329 MB, free: 11.28 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 8.493e-05/0.008495, allocations: 125.8 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.008578, allocations: 53.62 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.008614, allocations: 15.95 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.008618, allocations: 3.984 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.008623, allocations: 4 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.008627, allocations: 0 / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.008808, allocations: 148.7 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.00881, allocations: 0 / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.00887, allocations: 8 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008873, allocations: 0 / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.00888, allocations: 0 / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.008884, allocations: 8.062 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.008887, allocations: 3.938 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.009055, allocations: 185.1 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.009104, allocations: 19.88 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.009119, allocations: 0 / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.009187, allocations: 7.984 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.009216, allocations: 0 / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.009223, allocations: 4 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.515e-05/0.009298, allocations: 119.2 kB / 329.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009298, allocations: 0 / 329.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.009561, allocations: 8 kB / 329.7 MB, free: 10.5 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.0004229/0.009984, allocations: 0.6985 MB / 330.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.01011, allocations: 35.8 kB / 330.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01011, allocations: 0 / 330.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/0.01014, allocations: 11.98 kB / 330.4 MB, free: 9.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.01056, allocations: 28.27 kB / 330.4 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.01189, allocations: 1.324 MB / 331.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.01217, allocations: 83.02 kB / 331.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.723e-05/0.01221, allocations: 0 / 331.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.01226, allocations: 24.48 kB / 331.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01226, allocations: 4.031 kB / 331.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.03119, allocations: 2.355 MB / 334.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.009, allocations: 10.86 kB / 334.2 MB, free: 5.91 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.839452548883855]