Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.0008656/0.0008656, 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.001447/0.001447, 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.885/0.885, allocations: 173.4 MB / 200.5 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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.071e-05, allocations: 2.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002107/0.002128, allocations: 1.543 MB / 320 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006433/0.002771, allocations: 474.6 kB / 320.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.434e-05/0.002845, allocations: 7.938 kB / 320.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.002887, allocations: 3.938 kB / 320.4 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.003018, allocations: 19.86 kB / 320.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.003233, allocations: 51.7 kB / 320.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.00332, allocations: 47.78 kB / 320.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.58e-05/0.003406, allocations: 15.97 kB / 320.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.00347, allocations: 27.97 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.003511, allocations: 11.92 kB / 320.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.003531, allocations: 4 kB / 320.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.567e-06/0.003539, allocations: 4 kB / 320.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.003579, allocations: 15.92 kB / 320.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.0036, allocations: 15.92 kB / 320.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.987e-05/0.0037, allocations: 59.8 kB / 320.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003701, allocations: 0 / 320.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003702, allocations: 0 / 320.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.003705, allocations: 0 / 320.7 MB, free: 4.07 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.0003244/0.00403, allocations: 294.1 kB / 321 MB, free: 3.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.004062, allocations: 8.922 kB / 321 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.00409, allocations: 42.69 kB / 321 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.955e-05/0.00411, allocations: 8.891 kB / 321.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.00427, allocations: 137.6 kB / 321.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.004279, allocations: 12.38 kB / 321.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.004287, allocations: 384 / 321.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.004481, allocations: 113.5 kB / 321.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.004487, allocations: 192 / 321.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.004496, allocations: 12.06 kB / 321.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.0045, allocations: 0 / 321.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.004543, allocations: 19.92 kB / 321.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.00478, allocations: 228.9 kB / 321.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.578e-05/0.004836, allocations: 49.14 kB / 321.6 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.004865, allocations: 21.72 kB / 321.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.00488, allocations: 0 / 321.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.004898, allocations: 34.56 kB / 321.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.004899, allocations: 0 / 321.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001524/0.005051, allocations: 73.56 kB / 321.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.005091, allocations: 77.36 kB / 321.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.005177, allocations: 142.1 kB / 322 MB, free: 2.625 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.005186, allocations: 25.7 kB / 322 MB, free: 2.594 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.005224, allocations: 88.14 kB / 322.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.005234, allocations: 0 / 322.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.005259, allocations: 21.67 kB / 322.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.005336, allocations: 314.8 kB / 322.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.005354, allocations: 4 kB / 322.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.005372, allocations: 11.98 kB / 322.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.005411, allocations: 28.84 kB / 322.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.005412, allocations: 3.938 kB / 322.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.459e-05/0.005467, allocations: 49.62 kB / 322.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.005478, allocations: 4 kB / 322.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.005482, allocations: 4 kB / 322.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.005492, allocations: 0 / 322.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.005537, allocations: 0 / 322.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.005542, allocations: 7.984 kB / 322.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.005556, allocations: 0 / 322.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.005561, allocations: 4.031 kB / 322.5 MB, free: 2.035 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 5.661e-05/0.005618, allocations: 113.8 kB / 322.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.005651, allocations: 49.52 kB / 322.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.005672, allocations: 11.81 kB / 322.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.005674, allocations: 0 / 322.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005678, allocations: 0 / 322.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.005681, allocations: 0 / 322.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.005789, allocations: 144.7 kB / 322.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.005792, allocations: 11.88 kB / 322.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.005812, allocations: 4 kB / 322.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.005814, allocations: 4.031 kB / 322.8 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.00582, allocations: 4 kB / 322.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.005821, allocations: 0 / 322.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005822, allocations: 0 / 322.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.49e-05/0.005917, allocations: 160.3 kB / 323 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.005944, allocations: 19.88 kB / 323 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.005955, allocations: 4 kB / 323 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.005986, allocations: 0 / 323 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.00601, allocations: 0 / 323 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.006012, allocations: 8.031 kB / 323 MB, free: 1.434 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.006058, allocations: 109.7 kB / 323.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006058, allocations: 0 / 323.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001451/0.006204, allocations: 4 kB / 323.1 MB, free: 1.324 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0002693/0.006473, allocations: 0.6898 MB / 323.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.478e-05/0.006548, allocations: 19.92 kB / 323.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006549, allocations: 0 / 323.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.006569, allocations: 16.09 kB / 323.9 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.006813, allocations: 22.92 kB / 323.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009262/0.007739, allocations: 1.281 MB / 325.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.42e-05/0.007794, allocations: 79.27 kB / 325.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.611e-05/0.00782, allocations: 16.11 kB / 325.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.00786, allocations: 16.48 kB / 325.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.00786, allocations: 0 / 325.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.02254, allocations: 2.214 MB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/6.916, allocations: 0 / 327.5 MB, free: 12.97 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.72487713675946]