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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 214.6 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 55.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09765, allocations: 53.37 MB / 426.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002793/0.1004, allocations: 1.577 MB / 427.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1015, allocations: 0.5376 MB / 428.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.1016, allocations: 7.938 kB / 428.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.63e-05/0.1016, allocations: 3.938 kB / 428.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.1017, allocations: 19.86 kB / 428.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.102, allocations: 51.81 kB / 428.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1022, allocations: 51.78 kB / 428.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1023, allocations: 8.188 kB / 428.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1024, allocations: 35.92 kB / 428.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.1024, allocations: 23.84 kB / 428.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1025, allocations: 4 kB / 428.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.011e-05/0.1025, allocations: 8 kB / 428.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.1025, allocations: 15.92 kB / 428.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.1026, allocations: 27.8 kB / 428.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1027, allocations: 55.69 kB / 428.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1027, allocations: 0 / 428.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1027, allocations: 3.938 kB / 428.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1027, allocations: 0 / 428.8 MB, free: 2.215 MB / 350.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.0004582/0.1032, allocations: 387 kB / 429.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1032, allocations: 8.031 kB / 429.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.1033, allocations: 38.75 kB / 429.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.1034, allocations: 16.88 kB / 429.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1036, allocations: 200.2 kB / 429.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.1036, allocations: 4.375 kB / 429.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.1036, allocations: 384 / 429.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.1039, allocations: 121 kB / 429.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1039, allocations: 0 / 429.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.1039, allocations: 0 / 429.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1039, allocations: 0 / 429.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.104, allocations: 19.92 kB / 429.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.1043, allocations: 261.8 kB / 429.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.1044, allocations: 49.14 kB / 429.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.1044, allocations: 21.78 kB / 429.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.1044, allocations: 4 kB / 429.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1045, allocations: 34.56 kB / 429.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1045, allocations: 0 / 429.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002513/0.1047, allocations: 73.5 kB / 430 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1048, allocations: 77.11 kB / 430.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1049, allocations: 152.6 kB / 430.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1049, allocations: 29.64 kB / 430.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.105, allocations: 88.08 kB / 430.3 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.105, allocations: 3.953 kB / 430.3 MB, free: 428 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.105, allocations: 21.7 kB / 430.3 MB, free: 400 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1051, allocations: 318.8 kB / 430.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.1052, allocations: 11.98 kB / 430.7 MB, free: 60 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.1052, allocations: 17.72 kB / 430.7 MB, free: 36 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.321e-05/0.1053, allocations: 29.7 kB / 430.7 MB, free: 0 / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1053, allocations: 0 / 430.7 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001376/0.1055, allocations: 57.58 kB / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1055, allocations: 10.19 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1055, allocations: 4.109 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1055, allocations: 4 kB / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.1056, allocations: 4 kB / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1056, allocations: 0 / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.1056, allocations: 4 kB / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1056, allocations: 0 / 430.8 MB, free: 15.91 MB / 366.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 8.948e-05/0.1057, allocations: 121.8 kB / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.1058, allocations: 41.59 kB / 431 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.1058, allocations: 15.86 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1058, allocations: 4.031 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1058, allocations: 0 / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1058, allocations: 0 / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.106, allocations: 173.6 kB / 431.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.106, allocations: 0 / 431.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.106, allocations: 4 kB / 431.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.106, allocations: 0 / 431.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.106, allocations: 4 kB / 431.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.106, allocations: 0 / 431.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.106, allocations: 3.984 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1062, allocations: 164.2 kB / 431.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.1063, allocations: 93.05 kB / 431.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1063, allocations: 0 / 431.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.1064, allocations: 7.938 kB / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.1064, allocations: 3.984 kB / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1064, allocations: 3.984 kB / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.1065, allocations: 111.3 kB / 431.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1065, allocations: 0 / 431.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000211/0.1067, allocations: 8 kB / 431.5 MB, free: 15.06 MB / 366.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.000443/0.1071, allocations: 0.6937 MB / 432.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.1072, allocations: 19.98 kB / 432.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1072, allocations: 3.938 kB / 432.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.1073, allocations: 11.98 kB / 432.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1076, allocations: 23.95 kB / 432.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1089, allocations: 1.322 MB / 433.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1092, allocations: 0.6885 MB / 434.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.1092, allocations: 7.984 kB / 434.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.1092, allocations: 15.47 kB / 434.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1092, allocations: 0 / 434.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.1316, allocations: 1.564 MB / 435.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.702, allocations: 10.31 kB / 435.9 MB, free: 10.66 MB / 366.1 MB " [Timeout remaining time 652] (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 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.31895417207852]