Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.0009331/0.0009331, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008629/0.0008629, allocations: 170 kB / 23.95 MB, free: 0.6094 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.884/0.884, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.676e-05, allocations: 2.281 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001986/0.002013, allocations: 1.581 MB / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000656/0.002669, allocations: 0.5102 MB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.35e-05/0.002742, allocations: 0 / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.002782, allocations: 7.875 kB / 326.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.002914, allocations: 19.86 kB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.003184, allocations: 59.81 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.003287, allocations: 47.78 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.00338, allocations: 4.188 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.003496, allocations: 39.89 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.003542, allocations: 15.92 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.003558, allocations: 4 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.325e-05/0.003591, allocations: 4 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.003637, allocations: 19.91 kB / 326.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.003657, allocations: 19.94 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.003775, allocations: 59.73 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003778, allocations: 0 / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003778, allocations: 0 / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.003783, allocations: 0 / 326.9 MB, free: 13.56 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.0003462/0.004129, allocations: 302 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.004164, allocations: 8.031 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.004192, allocations: 38.75 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.255e-05/0.004284, allocations: 16.88 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.004459, allocations: 149.5 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.004468, allocations: 8.359 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.004477, allocations: 4.375 kB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.004677, allocations: 105.6 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.004684, allocations: 192 / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004695, allocations: 7.938 kB / 327.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.004699, allocations: 0 / 327.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.004741, allocations: 19.98 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.004979, allocations: 232.8 kB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.474e-05/0.005033, allocations: 41.16 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.005063, allocations: 25.7 kB / 327.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.005081, allocations: 4 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.005097, allocations: 30.56 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.005098, allocations: 0 / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.005256, allocations: 81.59 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.005295, allocations: 77.11 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.00538, allocations: 141.6 kB / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.005389, allocations: 25.7 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.005425, allocations: 88.12 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.005438, allocations: 11.95 kB / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.005462, allocations: 9.719 kB / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.005533, allocations: 318.8 kB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.005554, allocations: 8 kB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.00557, allocations: 8.156 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.005609, allocations: 24.78 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.00561, allocations: 0 / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.805e-05/0.005668, allocations: 57.56 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.005679, allocations: 4 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005683, allocations: 0 / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.005692, allocations: 0 / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.233e-05/0.005735, allocations: 4 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005739, allocations: 4.094 kB / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.005755, allocations: 4 kB / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.005762, allocations: 3.984 kB / 328.8 MB, free: 11.5 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 5.962e-05/0.005821, allocations: 113.8 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.005854, allocations: 45.53 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.005878, allocations: 23.69 kB / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.00588, allocations: 0 / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.005883, allocations: 0 / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.005886, allocations: 3.984 kB / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.005991, allocations: 148.6 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005992, allocations: 4.031 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.006013, allocations: 7.984 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006014, allocations: 0 / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.00602, allocations: 0 / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.006022, allocations: 4 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006022, allocations: 0 / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.006115, allocations: 164.2 kB / 329.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.006139, allocations: 11.95 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.006148, allocations: 0 / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.006183, allocations: 12.02 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.006204, allocations: 0 / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.006208, allocations: 4 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.728e-05/0.006255, allocations: 109.8 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006255, allocations: 0 / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.006398, allocations: 4 kB / 329.4 MB, free: 10.79 MB / 298.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.0002558/0.006654, allocations: 0.6936 MB / 330.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.011e-05/0.006734, allocations: 27.95 kB / 330.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006736, allocations: 0 / 330.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.265e-05/0.006758, allocations: 8 kB / 330.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.006998, allocations: 16.02 kB / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008153/0.007813, allocations: 1.298 MB / 331.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.007864, allocations: 75.34 kB / 331.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.405e-05/0.007888, allocations: 7.984 kB / 331.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.007923, allocations: 16.5 kB / 331.5 MB, free: 8.512 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.007923, allocations: 0 / 331.5 MB, free: 8.512 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.02279, allocations: 2.248 MB / 333.8 MB, free: 6.383 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/6.856, allocations: 5.484 kB / 333.8 MB, free: 6.383 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.61760754417628]