Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008309/0.0008309, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007801/0.0007801, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8885/0.8885, allocations: 173.3 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.369e-05, allocations: 6.219 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002116/0.00214, allocations: 1.57 MB / 320 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007847/0.002924, allocations: 454.8 kB / 320.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.003021, allocations: 7.938 kB / 320.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.721e-05/0.003078, allocations: 7.875 kB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.003244, allocations: 15.86 kB / 320.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.003536, allocations: 55.81 kB / 320.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.003654, allocations: 43.8 kB / 320.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.003775, allocations: 20.16 kB / 320.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.003883, allocations: 31.84 kB / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.003942, allocations: 11.98 kB / 320.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.00397, allocations: 0 / 320.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.003981, allocations: 4 kB / 320.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.004032, allocations: 15.92 kB / 320.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.004058, allocations: 23.92 kB / 320.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.004175, allocations: 59.73 kB / 320.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.004179, allocations: 0 / 320.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00418, allocations: 0 / 320.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.004184, allocations: 0 / 320.8 MB, free: 4.023 MB / 282.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.0004519/0.004636, allocations: 294 kB / 321 MB, free: 3.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.004677, allocations: 12.92 kB / 321.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.00471, allocations: 34.75 kB / 321.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.004738, allocations: 16.78 kB / 321.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.00496, allocations: 141.5 kB / 321.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.004974, allocations: 8.375 kB / 321.2 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.004985, allocations: 384 / 321.2 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.005267, allocations: 118.4 kB / 321.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.005277, allocations: 192 / 321.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.005286, allocations: 11.92 kB / 321.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.00529, allocations: 0 / 321.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.00535, allocations: 23.98 kB / 321.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.005615, allocations: 233.7 kB / 321.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.047e-05/0.005706, allocations: 75.72 kB / 321.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.005747, allocations: 34.62 kB / 321.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.005764, allocations: 0 / 321.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.005783, allocations: 34.56 kB / 321.8 MB, free: 2.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.005783, allocations: 0 / 321.8 MB, free: 2.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001869/0.00597, allocations: 89.69 kB / 321.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.006022, allocations: 110.8 kB / 322 MB, free: 2.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.006115, allocations: 137.8 kB / 322.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.006125, allocations: 25.7 kB / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.006166, allocations: 92.14 kB / 322.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.006187, allocations: 7.938 kB / 322.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.006218, allocations: 13.72 kB / 322.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.006307, allocations: 314.8 kB / 322.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.006329, allocations: 8.172 kB / 322.6 MB, free: 1.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.006344, allocations: 11.94 kB / 322.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.006385, allocations: 28.78 kB / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.006386, allocations: 0 / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.451e-05/0.00645, allocations: 49.58 kB / 322.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.006464, allocations: 8 kB / 322.6 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.006469, allocations: 0 / 322.6 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.00648, allocations: 3.938 kB / 322.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.448e-05/0.006534, allocations: 8.078 kB / 322.7 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.006539, allocations: 4 kB / 322.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.006557, allocations: 0 / 322.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.006564, allocations: 0 / 322.7 MB, free: 1.859 MB / 282.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 6.035e-05/0.006624, allocations: 121.8 kB / 322.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.006671, allocations: 53.53 kB / 322.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.006699, allocations: 15.95 kB / 322.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006701, allocations: 0 / 322.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.006704, allocations: 0 / 322.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.006709, allocations: 4.062 kB / 322.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.00685, allocations: 140.7 kB / 323 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.006853, allocations: 8 kB / 323 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.006888, allocations: 7.984 kB / 323 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006889, allocations: 4 kB / 323 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.006896, allocations: 0 / 323 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.006899, allocations: 3.938 kB / 323 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.0069, allocations: 4 kB / 323 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.007013, allocations: 177.1 kB / 323.2 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.007044, allocations: 19.88 kB / 323.2 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.007055, allocations: 4 kB / 323.2 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.007094, allocations: 8 kB / 323.2 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.007124, allocations: 3.984 kB / 323.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.007127, allocations: 0 / 323.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.007177, allocations: 114.5 kB / 323.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007177, allocations: 0 / 323.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.007327, allocations: 4 kB / 323.3 MB, free: 1.098 MB / 282.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.0003425/0.007669, allocations: 0.7101 MB / 324.1 MB, free: 364 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.007759, allocations: 27.92 kB / 324.1 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.007761, allocations: 0 / 324.1 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.00778, allocations: 11.98 kB / 324.1 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.008044, allocations: 26.92 kB / 324.1 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008593/0.008903, allocations: 1.322 MB / 325.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.008959, allocations: 75.33 kB / 325.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.984e-05/0.008989, allocations: 8.016 kB / 325.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.009174, allocations: 20.5 kB / 325.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of SimCode: time 4.2e-07/0.009175, allocations: 0 / 325.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.02572, allocations: 2.333 MB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/6.689, allocations: 3.297 kB / 327.9 MB, free: 12.55 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.482610363513231]