Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001201/0.001201, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.001141/0.001141, allocations: 170.3 kB / 23.95 MB, free: 0.6016 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.8863/0.8863, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.62e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003891/0.003918, allocations: 1.639 MB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.005176, allocations: 0.5491 MB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.005337, allocations: 4 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.074e-05/0.005408, allocations: 7.875 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.005637, allocations: 15.86 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.006136, allocations: 83.55 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.00631, allocations: 55.8 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.006446, allocations: 16.22 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.006665, allocations: 43.89 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.006739, allocations: 15.92 kB / 327 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.006762, allocations: 0 / 327 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.006819, allocations: 11.98 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.006877, allocations: 15.92 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.006909, allocations: 15.94 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.007109, allocations: 75.7 kB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.007113, allocations: 7.938 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007115, allocations: 0 / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.007125, allocations: 0 / 327.1 MB, free: 13.36 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005426/0.007668, allocations: 317.1 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.007716, allocations: 8.031 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.007763, allocations: 38.75 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.007935, allocations: 20.83 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.008297, allocations: 158.5 kB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.008312, allocations: 4.375 kB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.008327, allocations: 4.375 kB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.008739, allocations: 139.2 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.008751, allocations: 192 / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.008766, allocations: 12.12 kB / 327.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.008773, allocations: 0 / 327.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.805e-05/0.008871, allocations: 31.92 kB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.009312, allocations: 254.5 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.009473, allocations: 94.36 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.19e-05/0.009555, allocations: 47.42 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.009589, allocations: 4 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.009628, allocations: 38.56 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.00963, allocations: 0 / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003383/0.009968, allocations: 101.5 kB / 328.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/0.01007, allocations: 144.4 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.01021, allocations: 152.8 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.01023, allocations: 25.7 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.01029, allocations: 92.14 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.01031, allocations: 3.953 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.01034, allocations: 10.22 kB / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01045, allocations: 326.8 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.01048, allocations: 4 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/0.01051, allocations: 7.984 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.298e-05/0.01057, allocations: 24.84 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01057, allocations: 0 / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001099/0.01068, allocations: 61.5 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.0107, allocations: 4 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.01071, allocations: 8.094 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.01072, allocations: 0 / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.0108, allocations: 3.984 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.01081, allocations: 3.938 kB / 329.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.01083, allocations: 4 kB / 329.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.01084, allocations: 0 / 329.2 MB, free: 10.99 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 0.0001023/0.01094, allocations: 117.8 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.01106, allocations: 65.52 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.01111, allocations: 23.91 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.01111, allocations: 4.094 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.01112, allocations: 4 kB / 329.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.01113, allocations: 0 / 329.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.01133, allocations: 148.6 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01133, allocations: 0 / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.01141, allocations: 15.98 kB / 329.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01141, allocations: 0 / 329.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.01143, allocations: 8 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.01143, allocations: 0 / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.01144, allocations: 3.938 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.01166, allocations: 202 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.01171, allocations: 19.94 kB / 329.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.01173, allocations: 0 / 329.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.0118, allocations: 11.94 kB / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.01184, allocations: 3.984 kB / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.01185, allocations: 4 kB / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.438e-05/0.01193, allocations: 118.2 kB / 330 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.01193, allocations: 0 / 330 MB, free: 10.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.0122, allocations: 12 kB / 330 MB, free: 10.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0004997/0.0127, allocations: 0.7227 MB / 330.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.01286, allocations: 31.92 kB / 330.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.01286, allocations: 0 / 330.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.0129, allocations: 11.98 kB / 330.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.01336, allocations: 35.97 kB / 330.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.01473, allocations: 1.387 MB / 332.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.111e-05/0.01482, allocations: 79.33 kB / 332.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.63e-05/0.01486, allocations: 7.766 kB / 332.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.01492, allocations: 20.5 kB / 332.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01492, allocations: 7.969 kB / 332.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.03991, allocations: 2.755 MB / 335 MB, free: 5.078 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/6.917, allocations: 4 kB / 335 MB, free: 5.074 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_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_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.723395194858313]