Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001313/0.001313, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 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.001527/0.001527, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 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 1.406/1.406, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 47.92 kB / 370.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2342, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003076/0.2373, allocations: 1.583 MB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000961/0.2383, allocations: 466.8 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.2383, allocations: 7.938 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.2384, allocations: 7.938 kB / 424.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.2385, allocations: 15.84 kB / 424.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.2388, allocations: 54.95 kB / 424.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2389, allocations: 47.8 kB / 424.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.239, allocations: 16.16 kB / 424.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.2391, allocations: 19.92 kB / 424.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.2392, allocations: 19.86 kB / 424.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2392, allocations: 4 kB / 424.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.2392, allocations: 4 kB / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.2392, allocations: 15.94 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.2393, allocations: 19.86 kB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.2394, allocations: 61.31 kB / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2394, allocations: 0 / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2394, allocations: 0 / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.2394, allocations: 0 / 424.9 MB, free: 12.04 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.0004865/0.2399, allocations: 310 kB / 425.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2399, allocations: 12.03 kB / 425.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.24, allocations: 34.75 kB / 425.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.24, allocations: 8.891 kB / 425.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.2403, allocations: 149.1 kB / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2403, allocations: 8.359 kB / 425.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.2403, allocations: 384 / 425.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.2406, allocations: 121.8 kB / 425.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2406, allocations: 0 / 425.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2406, allocations: 4 kB / 425.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2406, allocations: 3.938 kB / 425.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.101e-05/0.2407, allocations: 27.92 kB / 425.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.241, allocations: 241.6 kB / 425.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.2411, allocations: 67.78 kB / 425.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.173e-05/0.2412, allocations: 30.62 kB / 425.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2412, allocations: 0 / 425.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.2413, allocations: 42.56 kB / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2413, allocations: 0 / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002664/0.2415, allocations: 89.5 kB / 426 MB, free: 10.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.2416, allocations: 106.8 kB / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.2417, allocations: 141.8 kB / 426.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2418, allocations: 25.7 kB / 426.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.2418, allocations: 96.06 kB / 426.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.2419, allocations: 7.953 kB / 426.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.2419, allocations: 13.72 kB / 426.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.242, allocations: 327.1 kB / 426.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.2421, allocations: 8 kB / 426.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.2421, allocations: 35.42 kB / 426.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.594e-05/0.2422, allocations: 47.36 kB / 426.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2422, allocations: 0 / 426.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001531/0.2424, allocations: 81.5 kB / 426.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2424, allocations: 4 kB / 426.9 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2424, allocations: 4 kB / 426.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2424, allocations: 0 / 426.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.2425, allocations: 8 kB / 426.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2425, allocations: 0 / 426.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.2425, allocations: 7.984 kB / 426.9 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.2426, allocations: 0 / 426.9 MB, free: 9.746 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.508e-05/0.2426, allocations: 121.8 kB / 427 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.2427, allocations: 57.7 kB / 427.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.2428, allocations: 11.97 kB / 427.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2428, allocations: 0 / 427.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2428, allocations: 4 kB / 427.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2428, allocations: 0 / 427.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.243, allocations: 144.7 kB / 427.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.243, allocations: 0 / 427.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.243, allocations: 11.98 kB / 427.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.243, allocations: 3.938 kB / 427.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.243, allocations: 0 / 427.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.243, allocations: 8.062 kB / 427.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.243, allocations: 3.938 kB / 427.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.2433, allocations: 177.1 kB / 427.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.2433, allocations: 23.86 kB / 427.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.2433, allocations: 4 kB / 427.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.2434, allocations: 4 kB / 427.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.2434, allocations: 0 / 427.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.2434, allocations: 4.141 kB / 427.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.24e-05/0.2435, allocations: 109.3 kB / 427.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2435, allocations: 0 / 427.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.2437, allocations: 12 kB / 427.6 MB, free: 8.977 MB / 334.1 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.0005554/0.2443, allocations: 0.7101 MB / 428.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.2445, allocations: 43.91 kB / 428.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2445, allocations: 0 / 428.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.2445, allocations: 4 kB / 428.4 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.2449, allocations: 36.27 kB / 428.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.2464, allocations: 1.391 MB / 429.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.936e-05/0.2464, allocations: 83.17 kB / 429.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.2465, allocations: 8.188 kB / 429.9 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.2465, allocations: 15.44 kB / 429.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2465, allocations: 0 / 429.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.2762, allocations: 2.22 MB / 432.1 MB, free: 4.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.46, allocations: 2.75 kB / 432.1 MB, free: 4.445 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.009443760849535]