Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001614/0.001614, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002162/0.002162, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 60.09 kB / 307.1 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.1011, allocations: 50.52 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002836/0.104, allocations: 1.556 MB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.105, allocations: 0.5376 MB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1051, allocations: 4 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.947e-05/0.1052, allocations: 7.875 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.1053, allocations: 11.94 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.1057, allocations: 55.8 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.1058, allocations: 51.8 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.106, allocations: 20.16 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1061, allocations: 31.91 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.1062, allocations: 19.88 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1062, allocations: 7.938 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.014e-05/0.1063, allocations: 7.984 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.1063, allocations: 11.94 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.1064, allocations: 27.8 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1065, allocations: 55.75 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1065, allocations: 0 / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1065, allocations: 0 / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1066, allocations: 0 / 360 MB, free: 11.58 MB / 302.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.0004725/0.107, allocations: 387.3 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1071, allocations: 8.031 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.1071, allocations: 38.75 kB / 360.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.1073, allocations: 16.83 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.1075, allocations: 196.2 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1075, allocations: 384 / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1075, allocations: 4.375 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.1078, allocations: 113 kB / 360.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1078, allocations: 3.938 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1078, allocations: 0 / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1079, allocations: 0 / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.781e-05/0.1079, allocations: 19.98 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.1082, allocations: 265.7 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.016e-05/0.1083, allocations: 53.03 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.1084, allocations: 25.77 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1084, allocations: 0 / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1085, allocations: 38.56 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1085, allocations: 0 / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002546/0.1087, allocations: 65.52 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1088, allocations: 85.05 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1089, allocations: 144.2 kB / 361.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.109, allocations: 29.95 kB / 361.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.109, allocations: 88.14 kB / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.109, allocations: 3.906 kB / 361.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1091, allocations: 17.72 kB / 361.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1092, allocations: 318.8 kB / 361.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.1092, allocations: 8 kB / 361.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-05/0.1093, allocations: 21.7 kB / 361.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.16e-05/0.1094, allocations: 33.77 kB / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1094, allocations: 0 / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001219/0.1095, allocations: 53.62 kB / 362 MB, free: 9.309 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1096, allocations: 6.969 kB / 362 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1096, allocations: 0 / 362 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1096, allocations: 4 kB / 362 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.1097, allocations: 12.05 kB / 362 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1097, allocations: 0 / 362 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.1097, allocations: 0 / 362 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.1097, allocations: 11.98 kB / 362 MB, free: 9.277 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.245e-05/0.1098, allocations: 130.7 kB / 362.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.1099, allocations: 37.61 kB / 362.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.11, allocations: 15.81 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.11, allocations: 4 kB / 362.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.11, allocations: 4.031 kB / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.11, allocations: 0 / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1102, allocations: 173.6 kB / 362.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1102, allocations: 0 / 362.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.1102, allocations: 7.984 kB / 362.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1102, allocations: 0 / 362.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1102, allocations: 0 / 362.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1102, allocations: 3.938 kB / 362.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1103, allocations: 4 kB / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.1104, allocations: 164.2 kB / 362.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.1105, allocations: 93 kB / 362.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1105, allocations: 4 kB / 362.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.1106, allocations: 0 / 362.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.1106, allocations: 3.938 kB / 362.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.1106, allocations: 4 kB / 362.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.764e-05/0.1107, allocations: 114.2 kB / 362.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1107, allocations: 0 / 362.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.111, allocations: 8 kB / 362.8 MB, free: 8.418 MB / 302.1 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.0004763/0.1115, allocations: 0.6996 MB / 363.5 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1116, allocations: 19.98 kB / 363.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1116, allocations: 0 / 363.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.1117, allocations: 11.98 kB / 363.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1121, allocations: 15.97 kB / 363.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1133, allocations: 1.312 MB / 364.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1136, allocations: 0.6885 MB / 365.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.1136, allocations: 4.031 kB / 365.5 MB, free: 5.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.1137, allocations: 15.44 kB / 365.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1137, allocations: 0 / 365.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.1313, allocations: 1.542 MB / 367.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/7.979, allocations: 7.562 kB / 367.1 MB, free: 4.055 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches